摘要: using System.Threading;public class Class1{ [STAThread] static void Main() { Mutex mutex = new Mutex(false, "MutexName"); if (!mutex.WaitOne(0, false)) { mute... 阅读全文
posted @ 2005-05-30 21:14 泡面 @ 幸福 阅读(329) 评论(0) 推荐(0)
摘要: 在From1的Load事件中写入以下码: this.Visible=false;全部代码如下:http://www.cnblogs.com/sik/articles/165099.html 阅读全文
posted @ 2005-05-30 19:19 泡面 @ 幸福 阅读(374) 评论(0) 推荐(0)
摘要: 在From1的Closing事件中写入以下代码. this.Visible=false;e.Cancel=true; 阅读全文
posted @ 2005-05-30 19:15 泡面 @ 幸福 阅读(325) 评论(0) 推荐(0)