gate_s

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2015年3月3日

摘要: 1 static class Program 2 { 3 private static Mutex mutex; 4 /// 5 /// 应用程序的主入口点。 6 /// 7 [STAThread]... 阅读全文
posted @ 2015-03-03 10:08 gate_s 阅读(540) 评论(0) 推荐(0)

摘要: 可在父窗体中定义一个全局变量 public static Form form; 然后在秀出子窗体的点击事件中增加加下代码 if (form == null) { //窗体不存在时,实例化子窗体,并显示出来,CurrentBalance为子窗体名 form = new CurrentBalance()... 阅读全文
posted @ 2015-03-03 10:04 gate_s 阅读(3836) 评论(0) 推荐(0)