void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.btnSpeakGetReadyQuestion = ((System.Windows.Controls.Button)(target)); return; case 2: this.btnAutoNextGetReadyQuestion = ((System.Windows.Controls.Primitives.ToggleButton)(target)); return; case 3: this.lbGetReadyQuestion = ((System.Windows.Controls.ListBox)(target)); return; case 4: this.lvKeywords = ((System.Windows.Controls.ItemsControl)(target)); return; case 5: this.lvKeyWordExList = ((System.Windows.Controls.ItemsControl)(target)); return; case 6: this.lvSentences = ((System.Windows.Controls.ItemsControl)(target)); return; case 7: this.lvSentenceExList = ((System.Windows.Controls.ItemsControl)(target)); return; case 8: this.SentenceWrap = ((System.Windows.Controls.ItemsControl)(target)); return; case 9: this.lvSentenceOrals = ((System.Windows.Controls.ListView)(target)); return; case 10: this.lvListeningExList = ((System.Windows.Controls.ItemsControl)(target)); return; case 11: this.lvListenPart2QuestionList = ((System.Windows.Controls.ItemsControl)(target)); return; case 12: this.dvGrammar = ((System.Windows.Controls.DocumentViewer)(target)); return; case 13: this.btnResetGrammarEx = ((System.Windows.Controls.Button)(target)); return; case 14: this.btnSubmitGrammarEx = ((System.Windows.Controls.Button)(target)); return; case 15: this.lvGrammarExList = ((System.Windows.Controls.ItemsControl)(target)); return; case 16: this._richTextBox = ((Xceed.Wpf.Toolkit.RichTextBox)(target)); return; case 17: this.flChampions = ((MahApps.Metro.Controls.Flyout)(target)); return; case 18: this.txtContentOfQuestion = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.btnCloseChampions = ((MahApps.Metro.Controls.Tile)(target)); return; case 20: this.flRating = ((MahApps.Metro.Controls.Flyout)(target)); return; case 21: this.gvRating = ((System.Windows.Controls.Grid)(target)); return; case 22: this.rtLesson = ((SoBasicEnglish.Rating)(target)); return; case 23: this.tbFeedBackContent = ((System.Windows.Controls.TextBox)(target)); return; case 24: this.lvLessonRating = ((System.Windows.Controls.ListView)(target)); return; case 25: this.btnCloseRating = ((MahApps.Metro.Controls.Tile)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 9 "..\..\StudyScreen.xaml" ((SoBasicEnglish.StudyScreen)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MetroWindow_Loaded); #line default #line hidden return; case 2: this.btnsetting = ((System.Windows.Controls.Button)(target)); return; case 3: #line 52 "..\..\StudyScreen.xaml" ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown); #line default #line hidden return; case 4: this.txtLessonName = ((System.Windows.Controls.TextBlock)(target)); return; case 5: #line 56 "..\..\StudyScreen.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 6: this.tcLesson = ((System.Windows.Controls.TabControl)(target)); return; case 7: this.tigettingReady = ((System.Windows.Controls.TabItem)(target)); return; case 8: this.btnSpeakGetReadyQuestion = ((System.Windows.Controls.Button)(target)); #line 79 "..\..\StudyScreen.xaml" this.btnSpeakGetReadyQuestion.Click += new System.Windows.RoutedEventHandler(this.btnSpeakGetReadyQuestion_Click); #line default #line hidden return; case 9: #line 92 "..\..\StudyScreen.xaml" ((System.Windows.Controls.Primitives.ToggleButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked); #line default #line hidden #line 93 "..\..\StudyScreen.xaml" ((System.Windows.Controls.Primitives.ToggleButton)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_Unchecked); #line default #line hidden return; case 10: this.btnAutoNextGetReadyQuestion = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 102 "..\..\StudyScreen.xaml" this.btnAutoNextGetReadyQuestion.Checked += new System.Windows.RoutedEventHandler(this.btnAutoNextGetReadyQuestion_Checked); #line default #line hidden #line 103 "..\..\StudyScreen.xaml" this.btnAutoNextGetReadyQuestion.Unchecked += new System.Windows.RoutedEventHandler(this.btnAutoNextGetReadyQuestion_Unchecked); #line default #line hidden return; case 11: this.btnNextQuestionGetReady = ((MahApps.Metro.Controls.Tile)(target)); #line 139 "..\..\StudyScreen.xaml" this.btnNextQuestionGetReady.Click += new System.Windows.RoutedEventHandler(this.Tile_Click_1); #line default #line hidden return; case 12: this.lbGettingReadyChoices = ((System.Windows.Controls.ListBox)(target)); #line 147 "..\..\StudyScreen.xaml" this.lbGettingReadyChoices.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbGettingReadyChoices_SelectionChanged); #line default #line hidden return; case 13: this.tikeyWord = ((System.Windows.Controls.TabItem)(target)); return; case 14: #line 190 "..\..\StudyScreen.xaml" ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MetroAnimatedSingleRowTabControl_SelectionChanged); #line default #line hidden return; case 15: this.lvKeywords = ((System.Windows.Controls.ListView)(target)); #line 202 "..\..\StudyScreen.xaml" this.lvKeywords.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvKeywords_SelectionChanged); #line default #line hidden return; case 16: this.tiKeyWordEx = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 17: this.btnHideKeyWordContent = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 265 "..\..\StudyScreen.xaml" this.btnHideKeyWordContent.Checked += new System.Windows.RoutedEventHandler(this.btnHideKeyWordContent_Checked); #line default #line hidden #line 266 "..\..\StudyScreen.xaml" this.btnHideKeyWordContent.Unchecked += new System.Windows.RoutedEventHandler(this.btnHideKeyWordContent_Unchecked); #line default #line hidden return; case 18: this.btnAutoNextKeyWordEx = ((System.Windows.Controls.Primitives.ToggleButton)(target)); #line 273 "..\..\StudyScreen.xaml" this.btnAutoNextKeyWordEx.Checked += new System.Windows.RoutedEventHandler(this.btnAutoNextKeyWordEx_Checked); #line default #line hidden #line 274 "..\..\StudyScreen.xaml" this.btnAutoNextKeyWordEx.Unchecked += new System.Windows.RoutedEventHandler(this.btnAutoNextKeyWordEx_Unchecked); #line default #line hidden return; case 19: #line 289 "..\..\StudyScreen.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 20: this.btnNextKeywordQues = ((MahApps.Metro.Controls.Tile)(target)); #line 305 "..\..\StudyScreen.xaml" this.btnNextKeywordQues.Click += new System.Windows.RoutedEventHandler(this.btnNextKeywordQues_Click); #line default #line hidden return; case 21: this.lbKeyWordExChoices = ((System.Windows.Controls.ListBox)(target)); #line 313 "..\..\StudyScreen.xaml" this.lbKeyWordExChoices.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbKeyWordExChoices_SelectionChanged); #line default #line hidden return; case 22: this.tiSentence = ((System.Windows.Controls.TabItem)(target)); return; case 23: #line 360 "..\..\StudyScreen.xaml" ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MetroAnimatedSingleRowTabControl_SelectionChanged); #line default #line hidden return; case 24: this.SentenceWrap = ((System.Windows.Controls.ItemsControl)(target)); return; case 25: #line 392 "..\..\StudyScreen.xaml" ((System.Windows.Controls.GroupBox)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.GroupBox_MouseUp); #line default #line hidden return; case 26: this.lvSentences = ((System.Windows.Controls.ListView)(target)); return; case 28: this.btnResetDoingSentenceEx = ((System.Windows.Controls.Button)(target)); #line 433 "..\..\StudyScreen.xaml" this.btnResetDoingSentenceEx.Click += new System.Windows.RoutedEventHandler(this.btnResetDoingSentenceEx_Click); #line default #line hidden return; case 29: this.btnSubmitDoingSentenceEx = ((System.Windows.Controls.Button)(target)); #line 436 "..\..\StudyScreen.xaml" this.btnSubmitDoingSentenceEx.Click += new System.Windows.RoutedEventHandler(this.btnSubmitDoingSentenceEx_Click); #line default #line hidden return; case 30: this.lvSentenceExList = ((System.Windows.Controls.ListView)(target)); return; case 31: this.btnRePlayAudio = ((System.Windows.Controls.Button)(target)); #line 492 "..\..\StudyScreen.xaml" this.btnRePlayAudio.Click += new System.Windows.RoutedEventHandler(this.btnRePlayAudio_Click); #line default #line hidden return; case 32: this.btnPlayAudio = ((System.Windows.Controls.Button)(target)); #line 495 "..\..\StudyScreen.xaml" this.btnPlayAudio.Click += new System.Windows.RoutedEventHandler(this.btnPlayAudio_Click); #line default #line hidden return; case 33: this.sliProgress = ((System.Windows.Controls.Slider)(target)); #line 501 "..\..\StudyScreen.xaml" this.sliProgress.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sliProgress_ValueChanged); #line default #line hidden return; case 34: this.tcListen = ((System.Windows.Controls.TabControl)(target)); return; case 35: this.tiListenPart1 = ((System.Windows.Controls.TabItem)(target)); return; case 36: this.btnResetListenSentenceEx = ((System.Windows.Controls.Button)(target)); #line 526 "..\..\StudyScreen.xaml" this.btnResetListenSentenceEx.Click += new System.Windows.RoutedEventHandler(this.btnResetListenSentenceEx_Click); #line default #line hidden return; case 37: this.btnSubmitListenSentenceEx = ((System.Windows.Controls.Button)(target)); #line 529 "..\..\StudyScreen.xaml" this.btnSubmitListenSentenceEx.Click += new System.Windows.RoutedEventHandler(this.btnSubmitListenSentenceEx_Click); #line default #line hidden return; case 38: this.lvListeningExList = ((System.Windows.Controls.ListView)(target)); return; case 39: this.btnResetListenPart2SentenceEx = ((System.Windows.Controls.Button)(target)); #line 576 "..\..\StudyScreen.xaml" this.btnResetListenPart2SentenceEx.Click += new System.Windows.RoutedEventHandler(this.btnResetListenPart2SentenceEx_Click); #line default #line hidden return; case 40: this.btnSubmitListenPart2SentenceEx = ((System.Windows.Controls.Button)(target)); #line 579 "..\..\StudyScreen.xaml" this.btnSubmitListenPart2SentenceEx.Click += new System.Windows.RoutedEventHandler(this.btnSubmitListenPart2SentenceEx_Click); #line default #line hidden return; case 41: this.lvListenPart2QuestionList = ((System.Windows.Controls.ListView)(target)); return; case 42: this.tiGrammar = ((System.Windows.Controls.TabItem)(target)); return; case 43: this.tcGrammar = ((System.Windows.Controls.TabControl)(target)); return; case 44: this.dvGrammar = ((System.Windows.Controls.DocumentViewer)(target)); return; case 45: this.btnResetGrammarEx = ((System.Windows.Controls.Button)(target)); #line 632 "..\..\StudyScreen.xaml" this.btnResetGrammarEx.Click += new System.Windows.RoutedEventHandler(this.btnResetGrammarEx_Click); #line default #line hidden return; case 46: this.btnSubmitGrammarEx = ((System.Windows.Controls.Button)(target)); #line 635 "..\..\StudyScreen.xaml" this.btnSubmitGrammarEx.Click += new System.Windows.RoutedEventHandler(this.btnSubmitGrammarEx_Click); #line default #line hidden return; case 47: this.lvGrammarExList = ((System.Windows.Controls.ListView)(target)); return; case 48: this.flRating = ((MahApps.Metro.Controls.Flyout)(target)); return; case 49: this.rtLesson = ((SoBasicEnglish.Rating)(target)); return; case 50: this.tbFeedBackContent = ((System.Windows.Controls.TextBox)(target)); return; case 51: #line 722 "..\..\StudyScreen.xaml" ((MahApps.Metro.Controls.Tile)(target)).Click += new System.Windows.RoutedEventHandler(this.Tile_Click_2); #line default #line hidden return; case 52: this.lvLessonRating = ((System.Windows.Controls.ListView)(target)); return; case 53: this.btnCloseRating = ((MahApps.Metro.Controls.Tile)(target)); #line 784 "..\..\StudyScreen.xaml" this.btnCloseRating.Click += new System.Windows.RoutedEventHandler(this.btnCloseRating_Click); #line default #line hidden return; case 54: this.flProccess = ((MahApps.Metro.Controls.Flyout)(target)); return; case 55: this.dataGroupedGrid = ((System.Windows.Controls.DataGrid)(target)); return; } this._contentLoaded = true; }