public FrmDetailMedicament(MEDICAMENT Medoc, string mat) { InitializeComponent(); this.Medoc = Medoc; this.mat = mat; bsRapportMed.DataSource = VisiteurManager.GetRapportValideByMedoc(Medoc.MED_DEPOTLEGAL, mat); dgvRapportMed.DataSource = bsRapportMed; txtBoxMed.Text = Medoc.MED_NOMCOMMERCIAL; }