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