摘要: TabPage动态添加From public TabPage Add(int count) tabControl1.TabPages.Clear(); for (int i = 1; i <= count; i++) { TabPage tabPage = new TabPage(); tabPag 阅读全文
posted @ 2017-12-24 15:26 溶进咖啡的糖 阅读(1259) 评论(0) 推荐(0) 编辑
摘要: public void Delay(int milliSecond) { int start = Environment.TickCount; while (Math.Abs(Environment.TickCount - start) < milliSecond) { Application.Do 阅读全文
posted @ 2017-11-17 15:36 溶进咖啡的糖 阅读(1847) 评论(0) 推荐(0) 编辑
摘要: //结构体 typedef struct tagNET_EHOME_XML_REMOTE_CTRL_PARAM { DWORD dwSize; void* lpInbuffer; //控制参数缓冲区 DWORD dwInBufferSize; //控制参数缓冲区长度 DWORD dwSendTime 阅读全文
posted @ 2017-11-11 11:00 溶进咖啡的糖 阅读(752) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8" ?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"><!--sqlit--> <supportedRuntime version="v4. 阅读全文
posted @ 2017-11-08 23:47 溶进咖啡的糖 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 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  阅读全文
posted @ 2017-11-08 23:31 溶进咖啡的糖 阅读(1783) 评论(0) 推荐(1) 编辑
摘要: 11月2 号! 11月2 号! 阅读全文
posted @ 2017-11-02 13:54 溶进咖啡的糖 阅读(83) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 简单工厂模式 { public class Op 阅读全文
posted @ 2017-07-09 22:12 溶进咖啡的糖 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-06-28 12:41 溶进咖啡的糖 阅读(416) 评论(0) 推荐(0) 编辑