Esempio n. 1
0
 public static WinSetRobotPoints GetWinInst()
 {
     if (g_WinSetRobotPoints == null)
     {
         g_WinSetRobotPoints = new WinSetRobotPoints();
     }
     return(g_WinSetRobotPoints);
 }
Esempio n. 2
0
 private void BaseMetroWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     try
     {
         TriggerCloseEvent();
         //e.Cancel = true;
         // this.Visibility = Visibility.Hidden;
         g_WinSetRobotPoints = null;
     }
     catch (Exception ex)
     {
         Log.L_I.WriteError(NameClass, ex);
     }
 }