Beispiel #1
0
 private void Creer_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         CwCasReleveIndex form = new CwCasReleveIndex(null, SessionObject.ExecMode.Creation, dtgrdParametre);
         form.Closed += form_Closed;
         form.Show();
     }
     catch (Exception ex)
     {
         Message.ShowError(ex.Message, Languages.Fonction);
     }
 }
Beispiel #2
0
 private void Consulter_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         if (dtgrdParametre.SelectedItem != null)
         {
             var objetselectionne  = (CsCasind)dtgrdParametre.SelectedItem;
             CwCasReleveIndex form = new CwCasReleveIndex(objetselectionne, SessionObject.ExecMode.Consultation, dtgrdParametre);
             form.Show();
         }
     }
     catch (Exception ex)
     {
         Message.ShowError(ex.Message, Languages.Fonction);
     }
 }