private void Loaddata() { if (frmDMList.isAdd) { Reset(); } else { txtTenBang.Enabled = false; dm = KhaiBaoDMDataProvider.GetListDMInfoFromOid(frmDMList.TblName); txtTenBang.Text = dm.TblName; txtTenDanhMuc.Text = dm.Name; chkSuDung.Checked = dm.OnlyPOS == 1; txtTenBang.Focus(); } }