コード例 #1
0
 private void BaseMetroWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     try
     {
         g_WinRecover = null;
     }
     catch (Exception ex)
     {
         Log.L_I.WriteError("WinRecover", ex);
     }
 }
コード例 #2
0
 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);
     }
 }