摘要:
Form form = Application.OpenForms["Form_Main"];if ((form == null) || (form.IsDisposed)){ Form_Main form_Main = new Form_Main(); form_Main.Show();} els 阅读全文
posted @ 2020-09-23 15:19
葬歌倾城
阅读(258)
评论(0)
推荐(0)
摘要:
private void Form1_FormClosing(object sender, FormClosingEventArgs e) { this.Visible = false; e.Cancel = true; } 亲测可用 阅读全文
posted @ 2020-09-23 15:11
葬歌倾城
阅读(190)
评论(0)
推荐(0)
摘要:
ushort crc = 4090;//高八位数据byte hi = (byte)((crc & 0xFF00) >> 8);//第八位数据byte lo = (byte)(crc & 0x00FF);//组合后的数据string data = lo.ToString("X2") + hi.ToSt 阅读全文
posted @ 2020-09-23 15:08
葬歌倾城
阅读(80)
评论(0)
推荐(0)
摘要:
方法1:在主函数入口加如下代码 System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = false; 亲测可用 阅读全文
posted @ 2020-09-23 14:35
葬歌倾城
阅读(510)
评论(0)
推荐(0)

浙公网安备 33010602011771号