void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainWindowName = ((TwitchChatBotGUI.MainWindow)(target)); #line 6 "..\..\MainWindow.xaml" this.MainWindowName.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: #line 22 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ConnectClick); #line default #line hidden return; case 3: #line 36 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DisconnectClick); #line default #line hidden return; case 4: #line 50 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Authorize_Click); #line default #line hidden return; case 5: #line 67 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LogOutButtonClick); #line default #line hidden return; case 6: this.FlySettingsNew = ((MahApps.Metro.Controls.Flyout)(target)); return; case 7: this.SettingsNew = ((System.Windows.Controls.DockPanel)(target)); return; case 8: this.NetworkSettingsNew = ((System.Windows.Controls.Button)(target)); #line 80 "..\..\MainWindow.xaml" this.NetworkSettingsNew.Click += new System.Windows.RoutedEventHandler(this.OpenNetworkSettings); #line default #line hidden return; case 9: this.QuizSettingsNew = ((System.Windows.Controls.Button)(target)); #line 88 "..\..\MainWindow.xaml" this.QuizSettingsNew.Click += new System.Windows.RoutedEventHandler(this.OpenQuizSettings); #line default #line hidden return; case 10: this.LoyalityRewards = ((System.Windows.Controls.Button)(target)); #line 96 "..\..\MainWindow.xaml" this.LoyalityRewards.Click += new System.Windows.RoutedEventHandler(this.OpenLoyalitySettings); #line default #line hidden return; case 11: #line 104 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FlyoutSettings); #line default #line hidden return; case 12: this.FlySettings = ((MahApps.Metro.Controls.Flyout)(target)); return; case 13: #line 118 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenNetworkSettings); #line default #line hidden return; case 14: #line 128 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenQuizSettings); #line default #line hidden return; case 15: this.FlyQuiz = ((MahApps.Metro.Controls.Flyout)(target)); return; case 16: #line 152 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNewQuizObject); #line default #line hidden return; case 17: #line 159 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PreviousQuizButtonClick); #line default #line hidden return; case 18: #line 166 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StartQuizButtonClick); #line default #line hidden return; case 19: #line 173 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StopQuizButtonClick); #line default #line hidden return; case 20: #line 180 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ForwardQuizButtonClick); #line default #line hidden return; case 21: this.QuizDataGrids = ((System.Windows.Controls.DockPanel)(target)); return; case 22: this.QuizDataGrid = ((System.Windows.Controls.DataGrid)(target)); #line 193 "..\..\MainWindow.xaml" this.QuizDataGrid.TargetUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.OnSourceUpdated); #line default #line hidden #line 193 "..\..\MainWindow.xaml" this.QuizDataGrid.SourceUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.OnSourceUpdated); #line default #line hidden #line 193 "..\..\MainWindow.xaml" this.QuizDataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectionChangedOccured); #line default #line hidden return; case 23: #line 196 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.CreateRandomQuiz); #line default #line hidden return; case 24: #line 206 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.QuickAddQuestion); #line default #line hidden return; case 25: #line 215 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AppendQuestionToTheFile); #line default #line hidden return; case 26: #line 224 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DropTheList); #line default #line hidden return; case 27: #line 233 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DropTheItemFromList); #line default #line hidden return; case 28: #line 242 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AskSelectedQuestion); #line default #line hidden return; case 29: this.QuizScoreGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 30: this.mainGrid = ((System.Windows.Controls.Grid)(target)); return; case 31: #line 267 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenNetworkSettings); #line default #line hidden return; case 32: #line 268 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenQuizSettings); #line default #line hidden return; case 33: #line 269 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenChannelSettings); #line default #line hidden return; case 34: this.FlyOuts = ((System.Windows.Controls.DockPanel)(target)); return; case 35: this.HelpButton = ((System.Windows.Controls.Button)(target)); #line 276 "..\..\MainWindow.xaml" this.HelpButton.Click += new System.Windows.RoutedEventHandler(this.OpenInfo); #line default #line hidden return; case 36: this.NetworkSettings = ((System.Windows.Controls.Button)(target)); #line 284 "..\..\MainWindow.xaml" this.NetworkSettings.Click += new System.Windows.RoutedEventHandler(this.OpenNetworkSettings); #line default #line hidden return; case 37: this.SettingsCircleButton = ((System.Windows.Controls.Button)(target)); #line 292 "..\..\MainWindow.xaml" this.SettingsCircleButton.Click += new System.Windows.RoutedEventHandler(this.FlyoutSettings); #line default #line hidden return; case 38: this.QuizCircleButton = ((System.Windows.Controls.Button)(target)); #line 300 "..\..\MainWindow.xaml" this.QuizCircleButton.Click += new System.Windows.RoutedEventHandler(this.FlyoutQuiz); #line default #line hidden return; case 39: #line 310 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FlyoutSettings); #line default #line hidden return; case 40: this.TwitchChannel = ((System.Windows.Controls.Button)(target)); #line 321 "..\..\MainWindow.xaml" this.TwitchChannel.Click += new System.Windows.RoutedEventHandler(this.ChannelButtonClick); #line default #line hidden return; case 41: this.SendButton = ((System.Windows.Controls.Button)(target)); #line 322 "..\..\MainWindow.xaml" this.SendButton.Click += new System.Windows.RoutedEventHandler(this.SendClick); #line default #line hidden return; case 42: this.MessageBox = ((System.Windows.Controls.TextBox)(target)); return; case 43: this.OffsetArea = ((System.Windows.Controls.DockPanel)(target)); return; case 44: this.ContentArea = ((System.Windows.Controls.DockPanel)(target)); return; case 45: #line 366 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PreviousQuizButtonClick); #line default #line hidden return; case 46: #line 373 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PreviousQuizButtonClick); #line default #line hidden return; case 47: #line 380 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StartQuizButtonClick); #line default #line hidden return; case 48: #line 387 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StopQuizButtonClick); #line default #line hidden return; case 49: #line 394 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StopQuizButtonClick); #line default #line hidden return; case 50: #line 401 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StopQuizButtonClick); #line default #line hidden return; case 51: #line 407 "..\..\MainWindow.xaml" ((System.Windows.Controls.DataGrid)(target)).TargetUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.OnSourceUpdated); #line default #line hidden #line 407 "..\..\MainWindow.xaml" ((System.Windows.Controls.DataGrid)(target)).SourceUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.OnSourceUpdated); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainWindowName = ((TwitchChatBotGUI.MainWindow)(target)); #line 6 "..\..\MainWindow.xaml" this.MainWindowName.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: #line 22 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ConnectClick); #line default #line hidden return; case 3: #line 36 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DisconnectClick); #line default #line hidden return; case 4: #line 50 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Authorize_Click); #line default #line hidden return; case 5: #line 67 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LogOutButtonClick); #line default #line hidden return; case 6: this.FlySettingsNew = ((MahApps.Metro.Controls.Flyout)(target)); return; case 7: this.SettingsNew = ((System.Windows.Controls.DockPanel)(target)); return; case 8: this.NetworkSettingsNew = ((System.Windows.Controls.Button)(target)); #line 80 "..\..\MainWindow.xaml" this.NetworkSettingsNew.Click += new System.Windows.RoutedEventHandler(this.OpenNetworkSettings); #line default #line hidden return; case 9: this.QuizSettingsNew = ((System.Windows.Controls.Button)(target)); #line 88 "..\..\MainWindow.xaml" this.QuizSettingsNew.Click += new System.Windows.RoutedEventHandler(this.OpenQuizSettings); #line default #line hidden return; case 10: this.LoyalityRewards = ((System.Windows.Controls.Button)(target)); #line 96 "..\..\MainWindow.xaml" this.LoyalityRewards.Click += new System.Windows.RoutedEventHandler(this.OpenLoyalitySettings); #line default #line hidden return; case 11: #line 104 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FlyoutSettings); #line default #line hidden return; case 12: this.FlySettings = ((MahApps.Metro.Controls.Flyout)(target)); return; case 13: #line 118 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenNetworkSettings); #line default #line hidden return; case 14: #line 128 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenQuizSettings); #line default #line hidden return; case 15: this.FlyQuiz = ((MahApps.Metro.Controls.Flyout)(target)); return; case 16: #line 152 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNewQuizObject); #line default #line hidden return; case 17: #line 159 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PreviousQuizButtonClick); #line default #line hidden return; case 18: #line 166 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StartQuizButtonClick); #line default #line hidden return; case 19: #line 173 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StopQuizButtonClick); #line default #line hidden return; case 20: #line 180 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ForwardQuizButtonClick); #line default #line hidden return; case 21: this.QuizDataGrids = ((System.Windows.Controls.DockPanel)(target)); return; case 22: this.QuizDataGrid = ((System.Windows.Controls.DataGrid)(target)); #line 193 "..\..\MainWindow.xaml" this.QuizDataGrid.TargetUpdated += new System.EventHandler<System.Windows.Data.DataTransferEventArgs>(this.OnSourceUpdated); #line default #line hidden #line 193 "..\..\MainWindow.xaml" this.QuizDataGrid.SourceUpdated += new System.EventHandler<System.Windows.Data.DataTransferEventArgs>(this.OnSourceUpdated); #line default #line hidden #line 193 "..\..\MainWindow.xaml" this.QuizDataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectionChangedOccured); #line default #line hidden return; case 23: #line 196 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.CreateRandomQuiz); #line default #line hidden return; case 24: #line 206 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.QuickAddQuestion); #line default #line hidden return; case 25: #line 215 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AppendQuestionToTheFile); #line default #line hidden return; case 26: #line 224 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DropTheList); #line default #line hidden return; case 27: #line 233 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DropTheItemFromList); #line default #line hidden return; case 28: #line 242 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AskSelectedQuestion); #line default #line hidden return; case 29: this.QuizScoreGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 30: this.mainGrid = ((System.Windows.Controls.Grid)(target)); return; case 31: #line 267 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenNetworkSettings); #line default #line hidden return; case 32: #line 268 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenQuizSettings); #line default #line hidden return; case 33: #line 269 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenChannelSettings); #line default #line hidden return; case 34: this.FlyOuts = ((System.Windows.Controls.DockPanel)(target)); return; case 35: this.HelpButton = ((System.Windows.Controls.Button)(target)); #line 276 "..\..\MainWindow.xaml" this.HelpButton.Click += new System.Windows.RoutedEventHandler(this.OpenInfo); #line default #line hidden return; case 36: this.NetworkSettings = ((System.Windows.Controls.Button)(target)); #line 284 "..\..\MainWindow.xaml" this.NetworkSettings.Click += new System.Windows.RoutedEventHandler(this.OpenNetworkSettings); #line default #line hidden return; case 37: this.SettingsCircleButton = ((System.Windows.Controls.Button)(target)); #line 292 "..\..\MainWindow.xaml" this.SettingsCircleButton.Click += new System.Windows.RoutedEventHandler(this.FlyoutSettings); #line default #line hidden return; case 38: this.QuizCircleButton = ((System.Windows.Controls.Button)(target)); #line 300 "..\..\MainWindow.xaml" this.QuizCircleButton.Click += new System.Windows.RoutedEventHandler(this.FlyoutQuiz); #line default #line hidden return; case 39: #line 310 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FlyoutSettings); #line default #line hidden return; case 40: this.TwitchChannel = ((System.Windows.Controls.Button)(target)); #line 321 "..\..\MainWindow.xaml" this.TwitchChannel.Click += new System.Windows.RoutedEventHandler(this.ChannelButtonClick); #line default #line hidden return; case 41: this.SendButton = ((System.Windows.Controls.Button)(target)); #line 322 "..\..\MainWindow.xaml" this.SendButton.Click += new System.Windows.RoutedEventHandler(this.SendClick); #line default #line hidden return; case 42: this.MessageBox = ((System.Windows.Controls.TextBox)(target)); return; case 43: this.OffsetArea = ((System.Windows.Controls.DockPanel)(target)); return; case 44: this.ContentArea = ((System.Windows.Controls.DockPanel)(target)); return; case 45: #line 366 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PreviousQuizButtonClick); #line default #line hidden return; case 46: #line 373 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PreviousQuizButtonClick); #line default #line hidden return; case 47: #line 380 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StartQuizButtonClick); #line default #line hidden return; case 48: #line 387 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StopQuizButtonClick); #line default #line hidden return; case 49: #line 394 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StopQuizButtonClick); #line default #line hidden return; case 50: #line 401 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StopQuizButtonClick); #line default #line hidden return; case 51: #line 407 "..\..\MainWindow.xaml" ((System.Windows.Controls.DataGrid)(target)).TargetUpdated += new System.EventHandler<System.Windows.Data.DataTransferEventArgs>(this.OnSourceUpdated); #line default #line hidden #line 407 "..\..\MainWindow.xaml" ((System.Windows.Controls.DataGrid)(target)).SourceUpdated += new System.EventHandler<System.Windows.Data.DataTransferEventArgs>(this.OnSourceUpdated); #line default #line hidden return; } this._contentLoaded = true; }