private void btn_voirRapport_Click(object sender, EventArgs e) { Int16 matricule = Int16.Parse(ucPraticien1.txtNUM.Text.ToString()); FrmDetailRapport f = new FrmDetailRapport(UserId, matricule); f.ShowDialog(); }
private void dvgRapportValide_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { RAPPORT_VISITE r = (RAPPORT_VISITE)bsRapportValide.Current; FrmDetailRapport f = new FrmDetailRapport(r); f.ShowDialog(); }
private void btn_voirRapport_Click(object sender, EventArgs e) { String unDepot = ucMedicament1.LeMedicament.MED_DEPOTLEGAL; FrmDetailRapport f = new FrmDetailRapport(UserId, unDepot); f.ShowDialog(); }
private void btnDetail_Click(object sender, EventArgs e) { int selectedRow = dgvRapportUnPraticien.SelectedCells[0].RowIndex; int rapnum = (int)dgvRapportUnPraticien.Rows[selectedRow].Cells[0].Value; RAPPORT_VISITE leRapport = VisiteurManager.ChargerRapportVisite(leVisiteur.VIS_MATRICULE, rapnum); FrmDetailRapport f = new FrmDetailRapport(leRapport); f.ShowDialog(); }