• 大小: 1.65M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: LED  LED屏  C#  显示屏  

资源简介

用C#在LED屏显示信息

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices; // 用 DllImport 需用此 命名空间

namespace CSharpDemo
{
    public partial class frmMain : Form
    {
        private const int WM_LED_NOTIFY = 1025;

        CLEDSender LEDSender = new CLEDSender();

        public frmMain()
        {
            InitializeComponent();
        }

        private void OnLEDNotify(UInt32 msg UInt32 wParam UInt32 lParam)
        {
            TNotifyParam notifyparam = new TNotifyParam();
            LEDSender.Do_LED_GetNotifyParam(ref notifyparam (int)wParam);

            if (notifyparam.notify==LEDSender.LM_TIMEOUT

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-12-17 15:49  CSharpDemo\
     文件        4048  2019-10-12 11:04  CSharpDemo\CSharpDemo.csproj
     文件       44247  2010-08-04 12:42  CSharpDemo\LEDSender.cs
     文件         493  2009-09-16 11:36  CSharpDemo\Program.cs
     目录           0  2019-12-17 15:49  CSharpDemo\Properties\
     文件        1352  2009-09-16 11:29  CSharpDemo\Properties\AssemblyInfo.cs
     文件        2855  2019-10-12 10:07  CSharpDemo\Properties\Resources.Designer.cs
     文件        5612  2009-09-16 11:29  CSharpDemo\Properties\Resources.resx
     文件        1110  2019-10-12 10:07  CSharpDemo\Properties\Settings.Designer.cs
     文件         249  2009-09-16 11:29  CSharpDemo\Properties\Settings.settings
     目录           0  2019-12-17 15:49  CSharpDemo\bin\
     目录           0  2019-12-17 15:49  CSharpDemo\bin\Debug\
     文件       38912  2019-10-12 11:05  CSharpDemo\bin\Debug\CSharpDemo.exe
     文件       56832  2019-10-12 11:05  CSharpDemo\bin\Debug\CSharpDemo.pdb
     文件      789504  2010-08-12 12:48  CSharpDemo\bin\Debug\LEDSender.dll
     文件       24576  2009-06-10 16:02  CSharpDemo\bin\Debug\Lzss.dll
     文件       90117  2004-08-13 19:00  CSharpDemo\bin\Debug\Usp10.dll
     文件     1014096  2010-03-18 09:36  CSharpDemo\bin\Debug\msvcp100d.dll
     文件      829264  2011-06-11 01:15  CSharpDemo\bin\Debug\msvcr100.dll
     文件     1858896  2010-03-18 09:36  CSharpDemo\bin\Debug\msvcr100d.dll
     文件       30963  2010-05-08 00:34  CSharpDemo\frmMain.Designer.cs
     文件       33358  2019-10-12 10:42  CSharpDemo\frmMain.cs
     文件        5814  2010-05-08 00:34  CSharpDemo\frmMain.resx
     目录           0  2019-12-17 15:49  CSharpDemo\obj\
     目录           0  2019-12-17 15:49  CSharpDemo\obj\Debug\
     文件         180  2019-10-12 11:05  CSharpDemo\obj\Debug\CSharpDemo.Properties.Resources.resources
     文件          42  2019-10-12 11:05  CSharpDemo\obj\Debug\CSharpDemo.csproj.CoreCompileInputs.cache
     文件        2631  2019-10-12 11:05  CSharpDemo\obj\Debug\CSharpDemo.csproj.FileListAbsolute.txt
     文件         849  2019-10-12 11:05  CSharpDemo\obj\Debug\CSharpDemo.csproj.GenerateResource.cache
     文件        1753  2019-10-12 11:05  CSharpDemo\obj\Debug\CSharpDemo.csprojAssemblyReference.cache
     文件       38912  2019-10-12 11:05  CSharpDemo\obj\Debug\CSharpDemo.exe
............此处省略8个文件信息

评论

共有 条评论