2006年7月6日
摘要: 1 /// 2 /// 判断子窗口是否已经打开 3 /// 4 /// 5 /// 6 static bool OpenOnce(System.Windows.Forms.Form aform) 7 { 8 bool result=false; 9 ... 阅读全文
posted @ 2006-07-06 10:51 kuning的程序博客 阅读(225) 评论(0) 推荐(0)
摘要: 1 protected override void Dispose( bool disposing ) 2 { 3 if(MessageBox.Show(this,"您真的要退出吗?","退出询问",MessageBoxButtons.YesNo,MessageBoxIcon.Question)==DialogResult.Yes ) 4 ... 阅读全文
posted @ 2006-07-06 10:41 kuning的程序博客 阅读(255) 评论(0) 推荐(0)