private void btnCopy_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { int focus = grvMonHoc.FocusedRowHandle; string ID = grvMonHoc.GetRowCellValue(focus, grdcolID).ToString(); MonHoc mh = monHoc.GetMonHocByID(ID); frmMonHoc_Add frm = new frmMonHoc_Add(); frm.khoi = (int)mh.Khoi; frm.mamon = mh.MaMonHoc; frm.tenmon = mh.TenMonHoc; frm.ShowDialog(); frmMonHoc_Load(sender, e); }