protected virtual void OnHaveResultEvent(SpeechToTextEventArgs e)
 {
     SpeechToTextEventHandler handler = HaveResult;
     if (handler != null)
     {
         handler(this, e);
     }
 }
 protected virtual void OnStopEvent(SpeechToTextEventArgs e)
 {
     SpeechToTextEventHandler handler = Stop;
     if (handler != null)
     {
         handler(this, e);
     }
 }