示例#1
0
 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);
     }
 }
示例#2
0
 private void BaseMetroWindow_Closing(object sender, CancelEventArgs e)
 {
     g_WinSetVoice = null;
 }