void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.main_menu = ((Hangman.MainWindow)(target)); return; case 2: this.btn_sport = ((System.Windows.Controls.Button)(target)); return; case 3: this.btn_anim = ((System.Windows.Controls.Button)(target)); return; case 4: this.btn_food = ((System.Windows.Controls.Button)(target)); return; case 5: this.btn_cont = ((System.Windows.Controls.Button)(target)); return; case 6: this.rad_easy = ((System.Windows.Controls.RadioButton)(target)); return; case 7: this.rad_hard = ((System.Windows.Controls.RadioButton)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.main_menu = ((Hangman.MainWindow)(target)); return; case 2: this.btn_sport = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\MainWindow.xaml" this.btn_sport.Click += new System.Windows.RoutedEventHandler(this.Btn_sport_Click); #line default #line hidden return; case 3: this.btn_anim = ((System.Windows.Controls.Button)(target)); #line 33 "..\..\MainWindow.xaml" this.btn_anim.Click += new System.Windows.RoutedEventHandler(this.Btn_anim_Click); #line default #line hidden return; case 4: this.btn_food = ((System.Windows.Controls.Button)(target)); #line 34 "..\..\MainWindow.xaml" this.btn_food.Click += new System.Windows.RoutedEventHandler(this.Btn_food_Click); #line default #line hidden return; case 5: this.btn_cont = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\MainWindow.xaml" this.btn_cont.Click += new System.Windows.RoutedEventHandler(this.Btn_cont_Click); #line default #line hidden return; case 6: this.rad_easy = ((System.Windows.Controls.RadioButton)(target)); #line 37 "..\..\MainWindow.xaml" this.rad_easy.Checked += new System.Windows.RoutedEventHandler(this.Rad_easy_Checked_1); #line default #line hidden return; case 7: this.rad_hard = ((System.Windows.Controls.RadioButton)(target)); #line 38 "..\..\MainWindow.xaml" this.rad_hard.Checked += new System.Windows.RoutedEventHandler(this.Rad_hard_Checked); #line default #line hidden return; } this._contentLoaded = true; }