Example #1
0
 public new static WinRecoverRobotAdj GetWinInst(out bool blNew)
 {
     blNew = false;
     if (g_WinRecover == null)
     {
         blNew        = true;
         g_WinRecover = new WinRecoverRobotAdj();
     }
     return(g_WinRecover);
 }
Example #2
0
 /// <summary>
 /// 关闭窗口
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public override void BaseWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     try
     {
         g_WinRecover = null;
     }
     catch (Exception ex)
     {
         Log.L_I.WriteError(NameClass, ex);
     }
 }