public static WinParWorkMode GetWinInst() { if (g_WinInst == null) { g_WinInst = new WinParWorkMode(); } g_WinInst.Focus(); return(g_WinInst); }
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { g_WinInst = null; }