private void nouveauToolStripMenuItem_Click(object sender, EventArgs e) { CHM_NV_MAGAZIN nv = new CHM_NV_MAGAZIN("-1"); nv.enreg_event += new CHM_NV_MAGAZIN.enreg_deleg(nv_enreg_event); nv.ShowDialog(); }
private void modifierToolStripMenuItem_Click(object sender, EventArgs e) { if (bs.Current != null) { DataRowView drv = (DataRowView)bs.Current; CHM_NV_MAGAZIN nv = new CHM_NV_MAGAZIN(drv["CODE_MAG"].ToString()); nv.enreg_event += new CHM_NV_MAGAZIN.enreg_deleg(nv_enreg_event); nv.ShowDialog(); } }