public static WinCamera5 GetWinInst() { try { if (g_WinCamera5 == null) { g_WinCamera5 = new WinCamera5(); } return(g_WinCamera5); } catch (Exception ex) { Log.L_I.WriteError("WinCamera5", ex); return(null); } }
public override void BaseMetroWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e) { g_BaseUCDisplayCamera.RecoverPhoto_Invoke(); g_WinCamera5 = null; }