Exemple #1
0
 //创建窗体对象的静态方法
 public static DanDianQvxian InstanceObject()
 {
     if (_instance == null)
         _instance = new DanDianQvxian();
     return _instance;
 }
Exemple #2
0
 private void DanDianQvxian_FormClosing(object sender, FormClosingEventArgs e)
 {
     _instance = null;
 }