Exemplo n.º 1
0
 private void btnMiseAJour_Click(object sender, RoutedEventArgs e)
 {
     if (dgPatientTrouver.SelectedItem != null)
     {
         NouveauPatient miseAjour = new NouveauPatient((patient)dgPatientTrouver.SelectedItem);
         miseAjour.ShowDialog();
     }
     else
     {
         MessageBox.Show("Veuillez selectionner un patient tout d'abord", "Attention"
                         , MessageBoxButton.OK, MessageBoxImage.Error);
     }
 }
Exemplo n.º 2
0
        private void btnNouveauPatient_Click(object sender, RoutedEventArgs e)
        {
            NouveauPatient AjoutPatient = new NouveauPatient();

            AjoutPatient.ShowDialog();
        }
Exemplo n.º 3
0
        private void btnmodifer_Click(object sender, RoutedEventArgs e)
        {
            NouveauPatient modifPatient = new NouveauPatient(cePatient);

            modifPatient.ShowDialog();
        }