private void btn_gérerClient_Click(object sender, RoutedEventArgs e) { GérerCréditClient gererCreditClient = new GérerCréditClient(myclient, mytransaction); gererCreditClient.Show(); this.Close(); }
private void Button_Click(object sender, RoutedEventArgs e) { if (Rbtn_AffichageTransactions.IsChecked == true) { FenetreTransactions Transaction = new FenetreTransactions(myclient, mytransaction); Transaction.Show(); this.Close(); } if (Rbtn_gérerClient.IsChecked == true) { GérerClients gererClient = new GérerClients(myclient, mytransaction); gererClient.Show(); this.Close(); } if (Rbtn_GérerCrédit.IsChecked == true) { GérerCréditClient gererCreditClient = new GérerCréditClient(myclient, mytransaction); gererCreditClient.Show(); this.Close(); } }