public static WinSetVoice GetWinInst() { try { if (g_WinSetVoice == null) { g_WinSetVoice = new WinSetVoice(); } return(g_WinSetVoice); } catch (Exception ex) { Log.L_I.WriteError("WinSetVoice", ex); return(null); } }
private void BaseMetroWindow_Closing(object sender, CancelEventArgs e) { g_WinSetVoice = null; }