03 2021 档案

摘要:试了好多种,这个方法蛮好用的。有更好的,希望大家多多指教。 Dim ProNo As Integer, ProStr As String ProNo = IsRunning("SSS.exe") If ProNo = 0 Then Shell App.path & "\SSS.exe '" & st 阅读全文
posted @ 2021-03-08 15:19 它的眼角开过光 阅读(486) 评论(0) 推荐(0)
摘要:一日一记防老年痴呆之———— 在窗口程序中desigener设计器中重写。 using System.Windows.Forms; protected override void WndProc(ref Message m) { const int WM_SYSCOMMAND = 0x0112; c 阅读全文
posted @ 2021-03-08 11:09 它的眼角开过光 阅读(229) 评论(0) 推荐(0)
摘要:很简单的东西,但是经常忘记,记在这儿吧,下次要用直接过来复制粘贴。 DialogResult dr = MessageBox.Show("连打工单" + list[j].SO + "尚未到达补料时间!补料时间为:" + sdtcrefill, "标题", MessageBoxButtons.OKCa 阅读全文
posted @ 2021-03-04 15:16 它的眼角开过光 阅读(692) 评论(0) 推荐(0)
摘要://HashSet检查数组是否重复 HashSet<string> hs = new HashSet<string>(); for (int j = 1; j <= SN.Count; j++) { if (hs.Contains(SN[j-1])) { MessageBox.Show("条码标签" 阅读全文
posted @ 2021-03-02 11:19 它的眼角开过光 阅读(314) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文
posted @ 2021-03-02 11:17 它的眼角开过光 阅读(1233) 评论(0) 推荐(0)