private void lblVaccination_Click(object sender, EventArgs e) { clsDoTraitement.doubleclicVaccinationDg = false; clsDoTraitement.idVaccinationDg = 0; VaccinationFrm frm = new VaccinationFrm(); frm.ShowDialog(); }
private void dgvvaccination_DoubleClick(object sender, EventArgs e) { try { clsDoTraitement.doubleclicVaccinationDg = true; clsDoTraitement.idVaccinationDg = ((clsutilisateur_groupe)dgvvaccination.SelectedRows[0].DataBoundItem).Id; VaccinationFrm frm = new VaccinationFrm(); frm.ShowDialog(); } catch (Exception) { MessageBox.Show("Erreur dans la zone d'affichage, veuillez actualiser svp !!", "Erreur d'affichage"); } }
private void lblVaccination_Click(object sender, EventArgs e) { VaccinationFrm frm = new VaccinationFrm(); frm.ShowDialog(); }