private void btnMedicament2_Click(object sender, EventArgs e) { RAPPORT_VISITE selectedRap = (RAPPORT_VISITE)bsRapportValide.Current; FrmConsulterMedoc frmConsulterMedicament = new FrmConsulterMedoc(actuVisiteur.VIS_MATRICULE, VisiteurManager.ChargerLeMedicament(selectedRap.RAP_MED2)); frmConsulterMedicament.Show(); }
private void lesMedicamentsToolStripMenuItem_Click(object sender, EventArgs e) { FrmConsulterMedoc f = new FrmConsulterMedoc(leVisiteur.VIS_MATRICULE); f.Show(); }