标签:
public class Myclass
{
private Myclass()
{
}
public static Myclass Instance
{
get
{
if (_instance==null||_instance.IsDisposed)//窗体应用程序才有IsDisposed
{
_instance= new MemberForm();
}
return _instance;
}
}
}
标签:
原文地址:http://www.cnblogs.com/rengke2002/p/5889248.html