摘要: 一、进程 Pcocess 引用命名空间:using System.Diagnostics; 步骤: 二、线程 1 进程是主线程,线程去执行一段需要时间的代码,主线程不会被占用,程序就 不会出现假死状态了。 2 线程所在的命名空间:System.Threading; 3 Thread th = new 阅读全文
posted @ 2016-09-27 20:59 冲天小肥牛 阅读(188) 评论(0) 推荐(0) 编辑
摘要: //在form1的点击事件中 form2 f2=new form2(); f2.owner=this;//很重要 f2.show(); 阅读全文
posted @ 2016-09-27 16:26 冲天小肥牛 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 上一级选项变动,下一集选项也随之变动! 在窗体建立三个ComBox。 //数据类 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading. 阅读全文
posted @ 2016-09-27 16:25 冲天小肥牛 阅读(141) 评论(0) 推荐(0) 编辑