private void BaseMetroWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e) { try { g_WinRecover = null; } catch (Exception ex) { Log.L_I.WriteError("WinRecover", ex); } }
public static WinRecover GetWinInst(out bool blNew) { blNew = false; try { if (g_WinRecover == null) { blNew = true; g_WinRecover = new WinRecover(); } return(g_WinRecover); } catch (Exception ex) { Log.L_I.WriteError("WinRecover", ex); return(null); } }