• 大小: 11.52MB
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2023-06-27
  • 语言: C#
  • 标签: C  #  USART  

资源简介

基于ZigBee的智能路灯系统(C#上位机)

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;

namespace ControlSystem
{
    partial class AboutBox1 : Form
    {
        public AboutBox1()
        {
            InitializeComponent();
            /*
            this.Text = String.Format(“关于 {0}“ Assemblytitle);
            this.labelProductName.Text = AssemblyProduct;
            this.labelVersion.Text = String.Format(“版本 {0}“ AssemblyVersion);
            this.labelCopyright.Text = AssemblyCopyright;
            this.labelCompanyName.Text = AssemblyCompany;
            this.textBoxDescription.Text = AssemblyDescription;
             */
            this.Text = String.Format(“关于 {0}“ “基于Zigbee的路灯控制系统电脑软件“);
            this.labelProductName.Text = ““;
            this.labelVersion.Text = String.Format(“版本 {0}“ AssemblyVersion);
            this.labelCopyright.Text = AssemblyCopyright;
            this.labelCompanyName.Text = AssemblyCompany;
            this.textBoxDescription.Text = AssemblyDescription;
        }

        #region 程序集特性访问器

        public string Assemblytitle
        {
            get
            {
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblytitleAttribute) false);
                if (attributes.Length > 0)
                {
                    AssemblytitleAttribute titleAttribute = (AssemblytitleAttribute)attributes[0];
                    if (titleAttribute.title != ““)
                    {
                        return titleAttribute.title;
                    }
                }
                return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().Codebase);
            }
        }

        public string AssemblyVersion
        {
            get
            {
                return Assembly.GetExecutingAssembly().GetName().Version.ToString();
            }
        }

        public string AssemblyDescription
        {
            get
            {
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute) false);
                if (attributes.Length == 0)
                {
                    return ““;
                }
                return ((AssemblyDescriptionAttribute)attributes[0]).Description;
            }
        }

        public string AssemblyProduct
        {
            get
            {
                object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute) false);
                if (attributes.Length == 0)
                {
                    return ““;
                }
                return ((AssemblyProductAttribute)attributes[0]).Product;
            }
        }

        public string AssemblyCopyright
        {
            get

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件     5584135  2018-06-01 08:52  ControlSystem-20180529截稿.zip
     目录           0  2019-04-01 17:53  ControlSystem\
     目录           0  2019-04-01 17:53  ControlSystem\.vs\
     目录           0  2019-04-01 17:53  ControlSystem\.vs\ControlSystem\
     目录           0  2019-04-01 17:53  ControlSystem\.vs\ControlSystem\v15\
     文件       65536  2018-05-29 08:31  ControlSystem\.vs\ControlSystem\v15\.suo
     目录           0  2019-04-01 17:53  ControlSystem\.vs\ControlSystem\v15\Server\
     目录           0  2019-04-01 17:53  ControlSystem\.vs\ControlSystem\v15\Server\sqlite3\
     文件           0  2018-05-29 02:40  ControlSystem\.vs\ControlSystem\v15\Server\sqlite3\db.lock
     文件      622592  2018-05-29 08:31  ControlSystem\.vs\ControlSystem\v15\Server\sqlite3\storage.ide
     文件         881  2018-05-03 21:28  ControlSystem\ControlSystem.sln
     文件       53760  2018-05-29 02:39  ControlSystem\ControlSystem.suo
     文件       70144  2018-09-12 14:25  ControlSystem\ControlSystem.v12.suo
     目录           0  2019-04-01 17:53  ControlSystem\ControlSystem\
     文件        4014  2018-05-29 03:10  ControlSystem\ControlSystem\AboutBox1.cs
     文件       10970  2018-05-29 03:10  ControlSystem\ControlSystem\AboutBox1.Designer.cs
     文件       97007  2018-05-29 03:10  ControlSystem\ControlSystem\AboutBox1.resx
     目录           0  2019-04-01 17:53  ControlSystem\ControlSystem\bin\
     目录           0  2019-04-01 17:53  ControlSystem\ControlSystem\bin\Debug\
     目录           0  2019-04-01 17:53  ControlSystem\ControlSystem\bin\Debug\app.publish\
     目录           0  2019-04-01 17:53  ControlSystem\ControlSystem\bin\Debug\app.publish\Application Files\
     目录           0  2019-04-01 17:53  ControlSystem\ControlSystem\bin\Debug\app.publish\Application Files\基于Zigbee的路灯控制系统电脑软件_1_0_0_1\
     文件        9662  2018-05-29 01:50  ControlSystem\ControlSystem\bin\Debug\app.publish\Application Files\基于Zigbee的路灯控制系统电脑软件_1_0_0_1\bitbug_favicon.ico.deploy
     文件      259464  2010-03-18 20:15  ControlSystem\ControlSystem\bin\Debug\app.publish\Application Files\基于Zigbee的路灯控制系统电脑软件_1_0_0_1\Microsoft.VisualBasic.PowerPacks.Vs.dll.deploy
     文件      266240  2007-08-22 11:30  ControlSystem\ControlSystem\bin\Debug\app.publish\Application Files\基于Zigbee的路灯控制系统电脑软件_1_0_0_1\MySql.Data.dll.deploy
     目录           0  2019-04-01 17:53  ControlSystem\ControlSystem\bin\Debug\app.publish\Application Files\基于Zigbee的路灯控制系统电脑软件_1_0_0_1\zh-Hans\
     文件       42904  2010-05-04 03:50  ControlSystem\ControlSystem\bin\Debug\app.publish\Application Files\基于Zigbee的路灯控制系统电脑软件_1_0_0_1\zh-Hans\Microsoft.VisualBasic.PowerPacks.Vs.resources.dll.deploy
     文件      485376  2018-05-29 08:29  ControlSystem\ControlSystem\bin\Debug\app.publish\Application Files\基于Zigbee的路灯控制系统电脑软件_1_0_0_1\基于Zigbee的路灯控制系统电脑软件.exe.deploy
     文件        6432  2018-05-29 08:29  ControlSystem\ControlSystem\bin\Debug\app.publish\Application Files\基于Zigbee的路灯控制系统电脑软件_1_0_0_1\基于Zigbee的路灯控制系统电脑软件.exe.manifest
     文件        9356  2018-05-29 08:29  ControlSystem\ControlSystem\bin\Debug\app.publish\publish.htm
     文件      516608  2018-05-29 08:29  ControlSystem\ControlSystem\bin\Debug\app.publish\setup.exe
............此处省略110个文件信息

评论

共有 条评论