• 大小: 0.06M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2024-06-17
  • 语言: C#
  • 标签: LED  指示灯  C#  

资源简介

使用GDI 实现Led指示灯,可配置开关状态的颜色,圆形和方形

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2021-03-10 21:18  WindowsFormsApp1\
     目录           0  2021-03-10 21:09  WindowsFormsApp1\.vs\
     目录           0  2021-03-10 21:09  WindowsFormsApp1\.vs\WindowsFormsApp1\
     目录           0  2021-03-10 21:09  WindowsFormsApp1\.vs\WindowsFormsApp1\v16\
     文件       45568  2021-03-10 21:19  WindowsFormsApp1\.vs\WindowsFormsApp1\v16\.suo
     目录           0  2021-03-10 21:09  WindowsFormsApp1\.vs\WindowsFormsApp1\v16\TestStore\
     目录           0  2021-03-10 21:09  WindowsFormsApp1\.vs\WindowsFormsApp1\v16\TestStore\0\
     文件          20  2021-03-10 21:09  WindowsFormsApp1\.vs\WindowsFormsApp1\v16\TestStore\0\000.testlog
     文件          24  2021-03-10 21:09  WindowsFormsApp1\.vs\WindowsFormsApp1\v16\TestStore\0\testlog.manifest
     文件         189  2021-03-10 21:09  WindowsFormsApp1\App.config
     文件        2631  2021-03-10 21:17  WindowsFormsApp1\Form1.Designer.cs
     文件         397  2021-03-10 21:18  WindowsFormsApp1\Form1.cs
     文件        5817  2021-03-10 21:18  WindowsFormsApp1\Form1.resx
     文件         237  2021-03-10 21:12  WindowsFormsApp1\Ledstyle.cs
     文件       10826  2021-03-10 21:12  WindowsFormsApp1\MyLed.cs
     文件        1129  2021-03-10 21:10  WindowsFormsApp1\MyLed.designer.cs
     文件         528  2021-03-10 21:09  WindowsFormsApp1\Program.cs
     目录           0  2021-03-10 21:09  WindowsFormsApp1\Properties\
     文件        1324  2021-03-10 21:09  WindowsFormsApp1\Properties\AssemblyInfo.cs
     文件        2864  2021-03-10 21:09  WindowsFormsApp1\Properties\Resources.Designer.cs
     文件        5612  2021-03-10 21:09  WindowsFormsApp1\Properties\Resources.resx
     文件        1101  2021-03-10 21:09  WindowsFormsApp1\Properties\Settings.Designer.cs
     文件         249  2021-03-10 21:09  WindowsFormsApp1\Properties\Settings.settings
     文件        3853  2021-03-10 21:12  WindowsFormsApp1\WindowsFormsApp1.csproj
     文件        1137  2021-03-10 21:09  WindowsFormsApp1\WindowsFormsApp1.sln
     目录           0  2021-03-10 21:09  WindowsFormsApp1\bin\
     目录           0  2021-03-10 21:12  WindowsFormsApp1\bin\Debug\
     文件       12800  2021-03-10 21:17  WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe
     文件         189  2021-03-10 21:09  WindowsFormsApp1\bin\Debug\WindowsFormsApp1.exe.config
     文件       48640  2021-03-10 21:17  WindowsFormsApp1\bin\Debug\WindowsFormsApp1.pdb
     目录           0  2021-03-10 21:09  WindowsFormsApp1\obj\
............此处省略13个文件信息

评论

共有 条评论