Пример #1
0
 private void BaseMetroWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     try
     {
         g_WinConfigPar = null;
     }
     catch (Exception ex)
     {
     }
 }
Пример #2
0
 private void BaseMetroWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     try
     {
         g_WinConfigPar = null;
     }
     catch (Exception ex)
     {
         Log.L_I.WriteError(NameClass, ex);
     }
 }
Пример #3
0
 public static WinConfigPar GetWinInst(out bool blNew)
 {
     blNew = false;
     try
     {
         if (g_WinConfigPar == null)
         {
             blNew          = true;
             g_WinConfigPar = new WinConfigPar();
         }
         return(g_WinConfigPar);
     }
     catch (Exception ex)
     {
         Log.L_I.WriteError("WinConfigPar", ex);
         return(null);
     }
 }