示例#1
0
 public frmThemNganhHang(frmNganhHang _frm)
 {
     InitializeComponent();
     frmnganhhang = _frm;
     txtMa.Text   = SinhMaNhomHang();
     ReadXml_User();
 }
 public frmCapNhatNganhHang(frmNganhHang _frm, NGANH_HANG _nganh)
 {
     InitializeComponent();
     frmnganhhang = _frm;
     ReadXml_User();
     objnganh            = _nganh;
     txtMa.Text          = objnganh.ID_NGANH;
     txtTen.Text         = objnganh.TEN_NGANH;
     txtGhiChu.Text      = objnganh.DESCRIPTION;
     checkactive.Checked = objnganh.Active;
 }