Zoe
摘要: 线程:帮助老板干活的,不会干扰老板的正常工作 如果一段代码的执行需要时间,那么必须开启一个新线程来执行,如果不开线程,窗口会出现假死 开线程: Thread th = new Thread(委托);th.IsBackground = true; //设置后台线程th.Start(); 线程默认是不允 阅读全文
posted @ 2017-05-04 20:05 口袋里的SKY 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 进程:一个应用程序就是一个进程开启某个进程Process.Start("文件缩写名");通过绝对路径开启某个进程Process p = new Process();p.StartInfo = new ProcessStartInfo("要打开的程序绝对路径");p.Start(); 获取全部开启的进 阅读全文
posted @ 2017-05-04 19:58 口袋里的SKY 阅读(130) 评论(2) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using Sy... 阅读全文
posted @ 2017-05-04 16:22 口袋里的SKY 阅读(148) 评论(0) 推荐(0) 编辑