摘要: private void butqinli1_Click(object sender, EventArgs e) { PathBox pbox = new PathBox(); Boolean createdNew; //返回是否赋予了使用线程的互斥体初始所属权 System.Threading.Mutex instance = new System.Threading.Mutex(true, "MutexName", out createdNew); //同步基元变量 if (createdNew) //赋予了线程初始所属权,也就是首次使用互斥体 { pbox.Show( 阅读全文
posted @ 2012-07-31 15:26 keyen 阅读(229) 评论(0) 推荐(0) 编辑