02 2022 档案

摘要:CookieContainer cookies; string strCookie = cookies?.GetCookieHeader(uri).Replace("%2C", ","); 阅读全文
posted @ 2022-02-17 10:01 黄立明02 阅读(180) 评论(0) 推荐(0) 编辑
摘要:Task[] tasks = new Task[3]; tasks[0] = new Task(() => { SocketPackage socketPackage = ClassWeb.HttpRequest(UpdateFile.updateUrl + UpdateFile.exeFile + 阅读全文
posted @ 2022-02-17 09:23 黄立明02 阅读(27) 评论(0) 推荐(0) 编辑
摘要:Thread thread = new Thread(new ThreadStart(() => UpdateFile.Start(false, this))) { IsBackground = true }; thread.Start(); 阅读全文
posted @ 2022-02-17 09:14 黄立明02 阅读(10) 评论(0) 推荐(0) 编辑
摘要:ThreadPool.QueueUserWorkItem(delegate { RestartService("EABackgroundService"); }) 阅读全文
posted @ 2022-02-17 09:11 黄立明02 阅读(13) 评论(0) 推荐(0) 编辑
摘要:Process instance = RunningInstance(); if (instance == null) { if (args != null && args.Length >= 1 && args[0] == "Startup") { Form1.bStartup = true; u 阅读全文
posted @ 2022-02-16 16:39 黄立明02 阅读(53) 评论(0) 推荐(0) 编辑
摘要:public void GlobaltoShow() { label9.BeginInvoke(new System.EventHandler(setTotalLabel), Convert.ToString(Global.ChuCurrMax)); label10.BeginInvoke(new 阅读全文
posted @ 2022-02-10 16:37 黄立明02 阅读(29) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示