摘要:
代码使用 var cellValue = dataGridView.ExInvokeGetCellValue(0,1); 代码封装 /// <summary> /// DataGridView获取单元格值 /// </summary> /// <param name="dataGridView">< 阅读全文
posted @ 2023-05-06 17:29
懒树懒
阅读(160)
评论(0)
推荐(0)
摘要:
代码应用 private void checkBoxAutoRun_CheckedChanged(object sender, EventArgs e) { this.ExRunOnSystemStart(checkBoxAutoRun.Checked); } 代码封装 /// <summary> 阅读全文
posted @ 2023-05-06 17:21
懒树懒
阅读(154)
评论(0)
推荐(0)
摘要:
代码实现 private void Form1_Load(object sender, EventArgs e) { this.ExAddNotifyIcon(); } 代码封装 /// <summary> /// 添加通知图标,左键点击切换窗口显示,右键点击弹出菜单 /// </summary> 阅读全文
posted @ 2023-05-06 17:18
懒树懒
阅读(133)
评论(0)
推荐(0)
摘要:
代码调用 ThreadPool.QueueUserWorkItem(o => { for (int i = 0; i < 100; i++) { this.ExInvokeUi(() => textBox.Text = i.ToString()); } }); //或 Task.Run(() => 阅读全文
posted @ 2023-05-06 17:14
懒树懒
阅读(77)
评论(0)
推荐(0)

浙公网安备 33010602011771号