/// ///////////////////////////// Chcked /////////////////////////////////////// private void GenderBtn_Checked(object sender, RoutedEventArgs e) { if (can) { addHyst("Gender"); } else { Erreur fenetere = new Erreur(); fenetere.Show(); GenderBtn.IsChecked = false; can = false; } }
private void EthnicityBtn_Checked(object sender, RoutedEventArgs e) { if (can) { addHyst("Ethnecity"); } else { Erreur fenetere = new Erreur(); fenetere.Show(); EthnicityBtn.IsChecked = false; can = false; } }