Ejemplo n.º 1
0
        private void lblConsFiche_Click(object sender, EventArgs e)
        {
            clsDoTraitement.doubleclicConsultationFicheDg = false;
            clsDoTraitement.idConsultationFicheDg         = 0;

            ConsultationFicheFrm frm = new ConsultationFicheFrm();

            frm.ShowDialog();
        }
Ejemplo n.º 2
0
 private void dgvconsultationFiche_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         clsDoTraitement.doubleclicConsultationFicheDg = true;
         clsDoTraitement.idConsultationFicheDg         = ((clsconsultation_fiche)dgvconsultationFiche.SelectedRows[0].DataBoundItem).Id;
         ConsultationFicheFrm frm = new ConsultationFicheFrm();
         frm.ShowDialog();
     }
     catch (Exception) { MessageBox.Show("Erreur dans la zone d'affichage, veuillez actualiser svp !!", "Erreur d'affichage"); }
 }