public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ATT.WP8.SampleApp;component/SpeechButtonPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.btnRecord = ((System.Windows.Controls.Button)(this.FindName("btnRecord")));
     this.btnSpeech = ((ATT.WP8.Controls.SpeechButton)(this.FindName("btnSpeech")));
     this.tbErrorMessage = ((ATT.WP8.Controls.ErrorToolTip)(this.FindName("tbErrorMessage")));
     this.tbxTranscriptedText = ((System.Windows.Controls.TextBox)(this.FindName("tbxTranscriptedText")));
 }
示例#2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ATT.WP8.SampleApp;component/SpeechButtonPage.xaml", System.UriKind.Relative));
     this.LayoutRoot          = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.btnRecord           = ((System.Windows.Controls.Button)(this.FindName("btnRecord")));
     this.btnSpeech           = ((ATT.WP8.Controls.SpeechButton)(this.FindName("btnSpeech")));
     this.tbErrorMessage      = ((ATT.WP8.Controls.ErrorToolTip)(this.FindName("tbErrorMessage")));
     this.tbxTranscriptedText = ((System.Windows.Controls.TextBox)(this.FindName("tbxTranscriptedText")));
 }