private void frmDM_LoaiItem_OnThemMoi(object sender, EventArgs e) { isAdd = true; frmChiTiet_LoaiItem frm = new frmChiTiet_LoaiItem(this); frm.ShowDialog(); }
private void frmDM_LoaiItem_OnCapNhat(object sender, EventArgs e) { if (Oid > 0) { isAdd = false; frmChiTiet_LoaiItem frm = new frmChiTiet_LoaiItem(this); frm.ShowDialog(); } }
void frmDM_LoaiItem_OnGridDoubleClick(object sender, EventArgs e) { if (Oid > 0) { isAdd = false; frmChiTiet_LoaiItem frm = new frmChiTiet_LoaiItem(this); frm.ShowDialog(); } }