Beispiel #1
0
 public static void End()
 {
     if(gSpeechReg != null) {
         gSpeechReg.Stop();
         gSpeechReg.Dispose();
         gSpeechReg = null;
     }//if
 }
Beispiel #2
0
 public static SpeechEngine Instance()
 {
     if (gSpeechReg == null)
     {
         gSpeechReg = new SpeechEngine();
     }
     return(gSpeechReg);
 }        //func
Beispiel #3
0
        }        //func

        public static void End()
        {
            if (gSpeechReg != null)
            {
                gSpeechReg.Stop();
                gSpeechReg.Dispose();
                gSpeechReg = null;
            }    //if
        }        //func
Beispiel #4
0
 public static SpeechEngine Instance()
 {
     if(gSpeechReg == null) gSpeechReg = new SpeechEngine();
     return gSpeechReg;
 }