private void Creer_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         UcQuartier form = new UcQuartier(null, SessionObject.ExecMode.Creation, dtgrdParametre);
         form.Closed += form_Closed;
         form.Show();
     }
     catch (Exception ex)
     {
         Message.ShowError(ex.Message, "Quartier");
     }
 }
 private void Consulter_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         if (dtgrdParametre.SelectedItem != null)
         {
             var        objetselectionne = (CsQuartier)dtgrdParametre.SelectedItem;
             UcQuartier form             = new UcQuartier(objetselectionne, SessionObject.ExecMode.Consultation, dtgrdParametre);
             form.Closed += form_Closed;
             form.Show();
         }
     }
     catch (Exception ex)
     {
         Message.ShowError(ex.Message, "Quartier");
     }
 }