void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.labelFicheDresseur = ((System.Windows.Controls.Label)(target)); return; case 2: this.labelID = ((System.Windows.Controls.Label)(target)); return; case 3: this.labelNom = ((System.Windows.Controls.Label)(target)); return; case 4: this.textBoxID = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.textBoxNom = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.close = ((System.Windows.Controls.Button)(target)); #line 15 "..\..\CtrlDresseur.xaml" this.close.Click += new System.Windows.RoutedEventHandler(this.close_Click); #line default #line hidden return; case 7: this.pokemon = ((PokemonTournamentWPF.CtrlPokemon)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.title = ((System.Windows.Controls.Image)(target)); return; case 2: this.deco = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\MainMenu.xaml" this.deco.Click += new System.Windows.RoutedEventHandler(this.deco_Click); #line default #line hidden return; case 3: this.tabControl = ((System.Windows.Controls.TabControl)(target)); return; case 4: this.ItemPokemon = ((System.Windows.Controls.TabItem)(target)); return; case 5: this.dataGridPokemon = ((System.Windows.Controls.DataGrid)(target)); return; case 6: this.menuItemPokemon = ((System.Windows.Controls.MenuItem)(target)); #line 41 "..\..\MainMenu.xaml" this.menuItemPokemon.Click += new System.Windows.RoutedEventHandler(this.MenuItemPokemon_Click); #line default #line hidden return; case 7: this.cbElem_pokemon = ((System.Windows.Controls.ComboBox)(target)); #line 45 "..\..\MainMenu.xaml" this.cbElem_pokemon.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbElem_SelectionChanged); #line default #line hidden return; case 8: this.addPokemon = ((System.Windows.Controls.Button)(target)); #line 54 "..\..\MainMenu.xaml" this.addPokemon.Click += new System.Windows.RoutedEventHandler(this.addPokemon_Click); #line default #line hidden return; case 9: this.rmPokemon = ((System.Windows.Controls.Button)(target)); #line 55 "..\..\MainMenu.xaml" this.rmPokemon.Click += new System.Windows.RoutedEventHandler(this.rmPokemon_Click); #line default #line hidden return; case 10: this.editPokemon = ((System.Windows.Controls.Button)(target)); return; case 11: this.export_pokemon = ((System.Windows.Controls.Button)(target)); #line 57 "..\..\MainMenu.xaml" this.export_pokemon.Click += new System.Windows.RoutedEventHandler(this.export_pokemon_Click); #line default #line hidden return; case 12: this.import_pokemon = ((System.Windows.Controls.Button)(target)); #line 58 "..\..\MainMenu.xaml" this.import_pokemon.Click += new System.Windows.RoutedEventHandler(this.import_pokemon_Click); #line default #line hidden return; case 13: this.print_pokemon = ((System.Windows.Controls.Button)(target)); #line 59 "..\..\MainMenu.xaml" this.print_pokemon.Click += new System.Windows.RoutedEventHandler(this.print_pokemon_Click); #line default #line hidden return; case 14: this.search_pokemon = ((System.Windows.Controls.TextBox)(target)); #line 61 "..\..\MainMenu.xaml" this.search_pokemon.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.search_TextChanged); #line default #line hidden #line 61 "..\..\MainMenu.xaml" this.search_pokemon.LostFocus += new System.Windows.RoutedEventHandler(this.search_LostFocus); #line default #line hidden return; case 15: this.bg_search_pokemon = ((System.Windows.Controls.TextBox)(target)); #line 63 "..\..\MainMenu.xaml" this.bg_search_pokemon.GotFocus += new System.Windows.RoutedEventHandler(this.bg_search_GotFocus); #line default #line hidden return; case 16: this.ItemStade = ((System.Windows.Controls.TabItem)(target)); return; case 17: this.dataGridStade = ((System.Windows.Controls.DataGrid)(target)); return; case 18: this.menuItemStade = ((System.Windows.Controls.MenuItem)(target)); #line 79 "..\..\MainMenu.xaml" this.menuItemStade.Click += new System.Windows.RoutedEventHandler(this.menuItemStade_Click); #line default #line hidden return; case 19: this.slider_min = ((System.Windows.Controls.Slider)(target)); #line 83 "..\..\MainMenu.xaml" this.slider_min.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slider_min_ValueChanged); #line default #line hidden return; case 20: this.slider_max = ((System.Windows.Controls.Slider)(target)); #line 84 "..\..\MainMenu.xaml" this.slider_max.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slider_max_ValueChanged); #line default #line hidden return; case 21: this.val_min = ((System.Windows.Controls.TextBox)(target)); return; case 22: this.val_max = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.search_by_place = ((System.Windows.Controls.TextBlock)(target)); return; case 24: this.search_stade = ((System.Windows.Controls.TextBox)(target)); #line 91 "..\..\MainMenu.xaml" this.search_stade.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.search_stade_TextChanged); #line default #line hidden #line 91 "..\..\MainMenu.xaml" this.search_stade.LostFocus += new System.Windows.RoutedEventHandler(this.search_stade_LostFocus); #line default #line hidden return; case 25: this.bg_search_stade = ((System.Windows.Controls.TextBox)(target)); #line 93 "..\..\MainMenu.xaml" this.bg_search_stade.GotFocus += new System.Windows.RoutedEventHandler(this.bg_search_stade_GotFocus); #line default #line hidden return; case 26: this.export_stade = ((System.Windows.Controls.Button)(target)); #line 95 "..\..\MainMenu.xaml" this.export_stade.Click += new System.Windows.RoutedEventHandler(this.export_stade_Click); #line default #line hidden return; case 27: this.import_stade = ((System.Windows.Controls.Button)(target)); #line 96 "..\..\MainMenu.xaml" this.import_stade.Click += new System.Windows.RoutedEventHandler(this.import_stade_Click); #line default #line hidden return; case 28: this.print_stade = ((System.Windows.Controls.Button)(target)); #line 97 "..\..\MainMenu.xaml" this.print_stade.Click += new System.Windows.RoutedEventHandler(this.print_stade_Click); #line default #line hidden return; case 29: this.addStade = ((System.Windows.Controls.Button)(target)); #line 99 "..\..\MainMenu.xaml" this.addStade.Click += new System.Windows.RoutedEventHandler(this.addStade_Click); #line default #line hidden return; case 30: this.rmStade = ((System.Windows.Controls.Button)(target)); #line 100 "..\..\MainMenu.xaml" this.rmStade.Click += new System.Windows.RoutedEventHandler(this.rmStade_Click); #line default #line hidden return; case 31: this.editStade = ((System.Windows.Controls.Button)(target)); return; case 32: this.ItemMatch = ((System.Windows.Controls.TabItem)(target)); return; case 33: this.dataGridMatch = ((System.Windows.Controls.DataGrid)(target)); return; case 34: this.phase = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 35: this.id_stade = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 36: this.nom_stade = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 37: this.id_1 = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 38: this.id_2 = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 39: this.ItemDresseur = ((System.Windows.Controls.TabItem)(target)); return; case 40: this.dataGridDresseur = ((System.Windows.Controls.DataGrid)(target)); return; case 41: this.headID = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 42: this.headNom = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 43: this.headElem = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 44: this.menuItemDresseur = ((System.Windows.Controls.MenuItem)(target)); #line 131 "..\..\MainMenu.xaml" this.menuItemDresseur.Click += new System.Windows.RoutedEventHandler(this.menuItemDresseur_Click); #line default #line hidden return; case 45: this.cb_dresseur = ((System.Windows.Controls.ComboBox)(target)); #line 135 "..\..\MainMenu.xaml" this.cb_dresseur.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_dresseur_SelectionChanged); #line default #line hidden return; case 46: this.search_dresseur = ((System.Windows.Controls.TextBox)(target)); #line 143 "..\..\MainMenu.xaml" this.search_dresseur.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.search_dresseur_TextChanged); #line default #line hidden #line 143 "..\..\MainMenu.xaml" this.search_dresseur.LostFocus += new System.Windows.RoutedEventHandler(this.search_dresseur_LostFocus); #line default #line hidden return; case 47: this.bg_search_dresseur = ((System.Windows.Controls.TextBox)(target)); #line 145 "..\..\MainMenu.xaml" this.bg_search_dresseur.GotFocus += new System.Windows.RoutedEventHandler(this.bg_search_dresseur_GotFocus); #line default #line hidden return; case 48: this.search_d_pokemon = ((System.Windows.Controls.TextBox)(target)); #line 147 "..\..\MainMenu.xaml" this.search_d_pokemon.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.search_d_pokemon_TextChanged); #line default #line hidden #line 147 "..\..\MainMenu.xaml" this.search_d_pokemon.LostFocus += new System.Windows.RoutedEventHandler(this.search_d_pokemon_LostFocus); #line default #line hidden return; case 49: this.bg_search_d_pokemon = ((System.Windows.Controls.TextBox)(target)); #line 149 "..\..\MainMenu.xaml" this.bg_search_d_pokemon.GotFocus += new System.Windows.RoutedEventHandler(this.bg_search_d_pokemon_GotFocus); #line default #line hidden return; case 50: this.export_dresseur = ((System.Windows.Controls.Button)(target)); #line 151 "..\..\MainMenu.xaml" this.export_dresseur.Click += new System.Windows.RoutedEventHandler(this.export_dresseur_Click); #line default #line hidden return; case 51: this.import_dresseur = ((System.Windows.Controls.Button)(target)); #line 152 "..\..\MainMenu.xaml" this.import_dresseur.Click += new System.Windows.RoutedEventHandler(this.import_dresseur_Click); #line default #line hidden return; case 52: this.print_dresseur = ((System.Windows.Controls.Button)(target)); #line 153 "..\..\MainMenu.xaml" this.print_dresseur.Click += new System.Windows.RoutedEventHandler(this.print_dresseur_Click); #line default #line hidden return; case 53: this.addDresseur = ((System.Windows.Controls.Button)(target)); #line 155 "..\..\MainMenu.xaml" this.addDresseur.Click += new System.Windows.RoutedEventHandler(this.addDresseur_Click); #line default #line hidden return; case 54: this.rmDresseur = ((System.Windows.Controls.Button)(target)); #line 156 "..\..\MainMenu.xaml" this.rmDresseur.Click += new System.Windows.RoutedEventHandler(this.rmDresseur_Click); #line default #line hidden return; case 55: this.editDresseur = ((System.Windows.Controls.Button)(target)); return; case 56: this.ItemCaracteristique = ((System.Windows.Controls.TabItem)(target)); return; case 57: this.ItemBonus = ((System.Windows.Controls.TabItem)(target)); return; case 58: this.fiche_pokemon = ((PokemonTournamentWPF.CtrlPokemon)(target)); return; case 59: this.fiche_stade = ((PokemonTournamentWPF.CtrlStade)(target)); return; case 60: this.fiche_dresseur = ((PokemonTournamentWPF.CtrlDresseur)(target)); return; } this._contentLoaded = true; }