Exemple #1
0
 public static WinSetCamera GetWinInst()
 {
     try
     {
         if (g_WinSetCamera == null)
         {
             g_WinSetCamera = new WinSetCamera();
         }
         return(g_WinSetCamera);
     }
     catch (Exception ex)
     {
         Log.L_I.WriteError("WinRecord", ex);
         return(null);
     }
 }
Exemple #2
0
 private void BaseMetroWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     g_WinSetCamera = null;
     GC.Collect();
 }