标签:new instance dispose stat ret create null winform 窗体
public static Form2 instance;
public static Form2 CreateForm()
{
if (instance == null || instance.IsDisposed)
{
instance = new Form2();
}
return instance;
}
标签:new instance dispose stat ret create null winform 窗体
原文地址:http://www.cnblogs.com/xifengyeluo/p/6078667.html