void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Content = ((System.Windows.Controls.TextBox)(target)); return; case 2: this.Channel = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.messageCounter = ((System.Windows.Controls.Label)(target)); return; case 4: this.timerLabel = ((System.Windows.Controls.Label)(target)); return; case 5: this.randomizeButton = ((Blide.ToggleButton)(target)); return; case 6: this.amountText = ((System.Windows.Controls.TextBox)(target)); #line 22 "..\..\HypeTool.xaml" this.amountText.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox); #line default #line hidden #line 22 "..\..\HypeTool.xaml" this.amountText.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Content_Copy_TextChanged); #line default #line hidden return; case 7: this.intervalText = ((System.Windows.Controls.TextBox)(target)); #line 23 "..\..\HypeTool.xaml" this.intervalText.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox); #line default #line hidden #line 23 "..\..\HypeTool.xaml" this.intervalText.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Content_Copy_TextChanged); #line default #line hidden return; case 8: #line 24 "..\..\HypeTool.xaml" ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.amountButtonAdd_MouseLeftButtonDown); #line default #line hidden return; case 9: #line 25 "..\..\HypeTool.xaml" ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.amountButtonDec_MouseLeftButtonDown); #line default #line hidden return; case 10: this.amountButtonAdd = ((MaterialDesignThemes.Wpf.PackIcon)(target)); #line 26 "..\..\HypeTool.xaml" this.amountButtonAdd.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.amountButtonAdd_MouseLeftButtonDown); #line default #line hidden return; case 11: this.amountButtonDec = ((MaterialDesignThemes.Wpf.PackIcon)(target)); #line 27 "..\..\HypeTool.xaml" this.amountButtonDec.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.amountButtonDec_MouseLeftButtonDown); #line default #line hidden return; case 12: #line 28 "..\..\HypeTool.xaml" ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.intervalButtonAdd_MouseLeftButtonDown); #line default #line hidden return; case 13: #line 29 "..\..\HypeTool.xaml" ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.intervalButtonDec_MouseLeftButtonDown); #line default #line hidden return; case 14: this.intervalButtonAdd = ((MaterialDesignThemes.Wpf.PackIcon)(target)); #line 30 "..\..\HypeTool.xaml" this.intervalButtonAdd.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.intervalButtonAdd_MouseLeftButtonDown); #line default #line hidden return; case 15: this.intervalButtonDec = ((MaterialDesignThemes.Wpf.PackIcon)(target)); #line 31 "..\..\HypeTool.xaml" this.intervalButtonDec.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.intervalButtonDec_MouseLeftButtonDown); #line default #line hidden return; case 16: this.startBot1 = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\HypeTool.xaml" this.startBot1.Click += new System.Windows.RoutedEventHandler(this.startBot1_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Bu2 = ((Blide.ToggleButton)(target)); return; case 2: this.Bu1 = ((Blide.ToggleButton)(target)); return; case 3: this.ExtractButton = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\Botlist.xaml" this.ExtractButton.Click += new System.Windows.RoutedEventHandler(this.ExtractButton_Click); #line default #line hidden return; case 4: this.SaveAsButton = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\Botlist.xaml" this.SaveAsButton.Click += new System.Windows.RoutedEventHandler(this.SaveAsButton_Click); #line default #line hidden return; case 5: this.LoadClipboardButton = ((System.Windows.Controls.Button)(target)); #line 18 "..\..\Botlist.xaml" this.LoadClipboardButton.Click += new System.Windows.RoutedEventHandler(this.LoadClipboardButton_Click); #line default #line hidden return; case 6: this.usernames = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.replaceButton = ((System.Windows.Controls.Button)(target)); #line 24 "..\..\Botlist.xaml" this.replaceButton.Click += new System.Windows.RoutedEventHandler(this.replaceButton_Click); #line default #line hidden return; case 8: this.toReplace = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.replacement = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.SaveImportButton = ((System.Windows.Controls.Button)(target)); #line 27 "..\..\Botlist.xaml" this.SaveImportButton.Click += new System.Windows.RoutedEventHandler(this.SaveImportButton_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.SettingsbuttonExit = ((System.Windows.Controls.Button)(target)); #line 16 "..\..\Settings.xaml" this.SettingsbuttonExit.Click += new System.Windows.RoutedEventHandler(this.buttonCancel_Click); #line default #line hidden return; case 2: this.SettingsbuttonApply = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\Settings.xaml" this.SettingsbuttonApply.Click += new System.Windows.RoutedEventHandler(this.buttonApply_Click); #line default #line hidden return; case 3: this.SettingsbuttonOkay = ((System.Windows.Controls.Button)(target)); #line 18 "..\..\Settings.xaml" this.SettingsbuttonOkay.Click += new System.Windows.RoutedEventHandler(this.buttonOkay_Click); #line default #line hidden return; case 4: #line 19 "..\..\Settings.xaml" ((System.Windows.Controls.Label)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseLeftButtonDown); #line default #line hidden return; case 5: this.SettingsTwitchName = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.SettingsTwitchOAuth = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.SettingsTwitchChannel = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.SettingsTwitchPrefix = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.SettingsTwitchDelay = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.Bu = ((Blide.ToggleButton)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.maxText = ((System.Windows.Controls.TextBox)(target)); #line 15 "..\..\Halloween.xaml" this.maxText.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox); #line default #line hidden #line 15 "..\..\Halloween.xaml" this.maxText.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Content_Copy_TextChanged); #line default #line hidden return; case 2: this.minText = ((System.Windows.Controls.TextBox)(target)); #line 16 "..\..\Halloween.xaml" this.minText.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox); #line default #line hidden #line 16 "..\..\Halloween.xaml" this.minText.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Content_Copy_TextChanged); #line default #line hidden return; case 3: #line 17 "..\..\Halloween.xaml" ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.maxButtonAdd_MouseLeftButtonDown); #line default #line hidden return; case 4: #line 18 "..\..\Halloween.xaml" ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.maxButtonDec_MouseLeftButtonDown); #line default #line hidden return; case 5: this.maxButtonAdd = ((MaterialDesignThemes.Wpf.PackIcon)(target)); #line 19 "..\..\Halloween.xaml" this.maxButtonAdd.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.maxButtonAdd_MouseLeftButtonDown); #line default #line hidden return; case 6: this.maxButtonDec = ((MaterialDesignThemes.Wpf.PackIcon)(target)); #line 20 "..\..\Halloween.xaml" this.maxButtonDec.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.maxButtonDec_MouseLeftButtonDown); #line default #line hidden return; case 7: #line 21 "..\..\Halloween.xaml" ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.minButtonAdd_MouseLeftButtonDown); #line default #line hidden return; case 8: #line 22 "..\..\Halloween.xaml" ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.minButtonDec_MouseLeftButtonDown); #line default #line hidden return; case 9: this.minButtonAdd = ((MaterialDesignThemes.Wpf.PackIcon)(target)); #line 23 "..\..\Halloween.xaml" this.minButtonAdd.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.minButtonAdd_MouseLeftButtonDown); #line default #line hidden return; case 10: this.minButtonDec = ((MaterialDesignThemes.Wpf.PackIcon)(target)); #line 24 "..\..\Halloween.xaml" this.minButtonDec.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.minButtonDec_MouseLeftButtonDown); #line default #line hidden return; case 11: this.chooseFolder = ((System.Windows.Controls.Button)(target)); #line 25 "..\..\Halloween.xaml" this.chooseFolder.Click += new System.Windows.RoutedEventHandler(this.chooseFolder_Click); #line default #line hidden return; case 12: this.avoidButton = ((Blide.ToggleButton)(target)); return; case 13: this.startButton = ((System.Windows.Controls.Button)(target)); #line 27 "..\..\Halloween.xaml" this.startButton.Click += new System.Windows.RoutedEventHandler(this.startButton_Click); #line default #line hidden return; case 14: this.volumeText = ((System.Windows.Controls.TextBox)(target)); #line 29 "..\..\Halloween.xaml" this.volumeText.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox); #line default #line hidden #line 29 "..\..\Halloween.xaml" this.volumeText.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Content_Copy_TextChanged); #line default #line hidden return; case 15: #line 30 "..\..\Halloween.xaml" ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.volumeButtonDec_MouseLeftButtonDown); #line default #line hidden return; case 16: #line 31 "..\..\Halloween.xaml" ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.volumeButtonAdd_MouseLeftButtonDown); #line default #line hidden return; case 17: this.volumeButtonAdd = ((MaterialDesignThemes.Wpf.PackIcon)(target)); #line 32 "..\..\Halloween.xaml" this.volumeButtonAdd.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.volumeButtonAdd_MouseLeftButtonDown); #line default #line hidden return; case 18: this.volumeButtonDec = ((MaterialDesignThemes.Wpf.PackIcon)(target)); #line 33 "..\..\Halloween.xaml" this.volumeButtonDec.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.volumeButtonDec_MouseLeftButtonDown); #line default #line hidden return; case 19: this.stopSound = ((System.Windows.Controls.Button)(target)); #line 34 "..\..\Halloween.xaml" this.stopSound.Click += new System.Windows.RoutedEventHandler(this.stopSound_Click); #line default #line hidden return; case 20: this.testSound = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\Halloween.xaml" this.testSound.Click += new System.Windows.RoutedEventHandler(this.testSound_Click); #line default #line hidden return; } this._contentLoaded = true; }