public static WinManualRobot GetWinInst(out bool blNew) { blNew = false; if (g_WinManualRobot == null) { blNew = true; g_WinManualRobot = new WinManualRobot(); } return(g_WinManualRobot); }
private void BaseMetroWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e) { g_WinManualRobot = null; }