日期:2014-05-17 浏览次数:20810 次
A a = new A();//全局的 ------解决方案--------------------楼上正解 单例模式啊!!!
private static Form a = null; public static Form GetOnlyInstance() { if (a == null && a.IsDisposed) a = new Form(); return a; }