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