摘要:
TabPage动态添加From public TabPage Add(int count) tabControl1.TabPages.Clear(); for (int i = 1; i <= count; i++) { TabPage tabPage = new TabPage(); tabPag 阅读全文
摘要:
public void Delay(int milliSecond) { int start = Environment.TickCount; while (Math.Abs(Environment.TickCount - start) < milliSecond) { Application.Do 阅读全文
摘要:
//结构体 typedef struct tagNET_EHOME_XML_REMOTE_CTRL_PARAM { DWORD dwSize; void* lpInbuffer; //控制参数缓冲区 DWORD dwInBufferSize; //控制参数缓冲区长度 DWORD dwSendTime 阅读全文
摘要:
<?xml version="1.0" encoding="utf-8" ?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"><!--sqlit--> <supportedRuntime version="v4. 阅读全文
摘要:
Public Function Chr_crc(data() As Byte) As String '*RTU方式的CRC校验计算 Dim CrcJ As Long Dim i As Integer Dim j As Integer CrcJ = 65535 '*CRCj赋值65535 For i 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 简单工厂模式 { public class Op 阅读全文