private void BoutonShow_Click(object sender, RoutedEventArgs e) { Show_Contacs_View fenetre_contact_view = new Show_Contacs_View(); fenetre_contact_view.Show(); this.Close(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.fenetreShowContacts = ((View.Show_Contacs_View)(target)); return; case 2: this.contactsAfficher = ((System.Windows.Controls.ListView)(target)); return; case 3: this.backToMenu = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\Show_Contacs_View.xaml" this.backToMenu.Click += new System.Windows.RoutedEventHandler(this.BackToMenu_Click); #line default #line hidden return; case 4: this.signOutForShowContacts = ((System.Windows.Controls.Button)(target)); #line 24 "..\..\Show_Contacs_View.xaml" this.signOutForShowContacts.Click += new System.Windows.RoutedEventHandler(this.SignOutForShowContacts_Click); #line default #line hidden return; case 5: this.boutonTriAge = ((System.Windows.Controls.RadioButton)(target)); #line 25 "..\..\Show_Contacs_View.xaml" this.boutonTriAge.Checked += new System.Windows.RoutedEventHandler(this.BoutonTriAge_Checked); #line default #line hidden return; case 6: this.boutonTriNom = ((System.Windows.Controls.RadioButton)(target)); #line 26 "..\..\Show_Contacs_View.xaml" this.boutonTriNom.Checked += new System.Windows.RoutedEventHandler(this.BoutonTriNom_Checked); #line default #line hidden return; case 7: this.ListFirstName = ((System.Windows.Controls.TextBlock)(target)); return; case 8: this.ListLastName = ((System.Windows.Controls.TextBlock)(target)); return; case 9: this.ListEmail = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this.ListPhone = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.ListAge = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.nbContactFound = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }