public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); SpeechControl = (global::Bing.Speech.Xaml.SpeechRecognizerUx) this.FindName("SpeechControl"); SpeakButton = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("SpeakButton"); ResultText = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("ResultText"); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); rootgrid = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("rootgrid"); SpeechControl = (global::Bing.Speech.Xaml.SpeechRecognizerUx) this.FindName("SpeechControl"); SpeakButton = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("SpeakButton"); ResultText = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("ResultText"); BoxText = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("BoxText"); music = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("music"); video = (global::Windows.UI.Xaml.Controls.AppBarButton) this.FindName("video"); flipView = (global::Windows.UI.Xaml.Controls.FlipView) this.FindName("flipView"); myControl = (global::Windows.UI.Xaml.Controls.MediaElement) this.FindName("myControl"); myControl2 = (global::Windows.UI.Xaml.Controls.MediaElement) this.FindName("myControl2"); myControl1 = (global::Windows.UI.Xaml.Controls.MediaElement) this.FindName("myControl1"); myControl3 = (global::Windows.UI.Xaml.Controls.MediaElement) this.FindName("myControl3"); }