void txtNguongoc__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtNguongoc.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtNguongoc.myCode; txtNguongoc.Init(); txtNguongoc.SetCode(oldCode); txtNguongoc.Focus(); } }
void txtDangBaoChe__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtDangBaoChe.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtDangBaoChe.myCode; txtDangBaoChe.Init(); txtDangBaoChe.SetCode(oldCode); txtDangBaoChe.Focus(); } }
void txtKieuthuocVT__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtKieuthuocVT.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtKieuthuocVT.myCode; txtKieuthuocVT.Init(); txtKieuthuocVT.SetCode(oldCode); txtKieuthuocVT.Focus(); } }
void cmdThemdonvitinh_Click(object sender, EventArgs e) { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG("DONVITINH"); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtDonvitinh.myCode; txtDonvitinh.Init(); txtDonvitinh.SetCode(oldCode); txtDonvitinh.Focus(); } }
void txtCachsudung__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtCachsudung.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtCachsudung.myCode; txtCachsudung.Init(); txtCachsudung.SetCode(oldCode); txtCachsudung.Focus(); } }
void txtdauhieucls__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtdauhieucls.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtdauhieucls.Text; txtdauhieucls.Init(); txtdauhieucls._Text = oldCode; txtdauhieucls.Focus(); } }
void cmdThemLydochietkhau_Click(object sender, EventArgs e) { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG("LYDOCHIETKHAU"); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtLydochietkhau.myCode; txtLydochietkhau.Init(); txtLydochietkhau.SetCode(oldCode); txtLydochietkhau.Focus(); } }
void txtLoaiBN__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtLoaikham.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtLoaikham.myCode; txtLoaikham.Init(); txtLoaikham.SetCode(oldCode); txtLoaikham.Focus(); } }
private void txtthauphu_nguoinhan__OnShowData() { var dmuchung = new DMUC_DCHUNG(txtthauphu_nguoinhan.LOAI_DANHMUC); dmuchung.ShowDialog(); if (!dmuchung.m_blnCancel) { string oldCode = txtthauphu_nguoinhan.myCode; txtthauphu_nguoinhan.Init(); txtthauphu_nguoinhan.SetCode(oldCode); txtthauphu_nguoinhan.Focus(); } }
void cmdThemnguoinhuy_Click(object sender, EventArgs e) { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtDiadiem.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtDiadiem.myCode; txtDiadiem.Init(); txtDiadiem.SetCode(oldCode); txtDiadiem.Focus(); } }
void txtLydothanhly__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtLydothanhly.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtLydothanhly.myCode; txtLydothanhly.Init(); txtLydothanhly.SetCode(oldCode); txtLydothanhly.Focus(); } }
private void txtvisinh_nguoigiao__OnShowData() { var dmuchung = new DMUC_DCHUNG(txtvisinh_nguoigiao.LOAI_DANHMUC); dmuchung.ShowDialog(); if (!dmuchung.m_blnCancel) { string oldCode = txtvisinh_nguoigiao.myCode; txtvisinh_nguoigiao.Init(); txtvisinh_nguoigiao.SetCode(oldCode); txtvisinh_nguoigiao.Focus(); } }
void txtphuongtienvc__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtphuongtienvc.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtphuongtienvc.Text; txtphuongtienvc.Init(); txtphuongtienvc._Text = oldCode; txtphuongtienvc.Focus(); } }
private void txtKieuchuyenvien__OnShowData() { var _DMUC_DCHUNG = new DMUC_DCHUNG(txtKieuchuyenvien.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtKieuchuyenvien.Text; txtKieuchuyenvien.Init(); txtKieuchuyenvien._Text = oldCode; txtKieuchuyenvien.Focus(); } }
void txtTrangthainguoibenh__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtTrangthainguoibenh.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtTrangthainguoibenh.Text; txtTrangthainguoibenh.Init(); txtTrangthainguoibenh._Text = oldCode; txtTrangthainguoibenh.Focus(); } }
void txtTomtatquatrinh__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtTomtatquatrinh.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtTomtatquatrinh.myCode; txtTomtatquatrinh.Init(); txtTomtatquatrinh.SetCode(oldCode); txtTomtatquatrinh.Focus(); } }
void txtDonvichia__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtDonvitinh.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtDonvitinh.myCode; txtDonvitinh.Init(); txtDonvitinh.SetCode(oldCode); oldCode = txtDonvichia.myCode; txtDonvichia.Init(); txtDonvichia.SetCode(oldCode); txtDonvichia.Focus(); } }
void txtphuongtienvc__OnSaveAs() { if (Utility.DoTrim(txtHuongdieutri.Text) == "") { return; } DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtphuongtienvc.LOAI_DANHMUC); _DMUC_DCHUNG.SetStatus(true, txtphuongtienvc.Text); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtphuongtienvc.Text; txtphuongtienvc.Init(); txtphuongtienvc._Text = oldCode; txtphuongtienvc.Focus(); } }
private void txtKieuchuyenvien__OnSaveAs() { if (Utility.DoTrim(txtPhuongphapdieutri.Text) == "") { return; } var _DMUC_DCHUNG = new DMUC_DCHUNG(txtKieuchuyenvien.LOAI_DANHMUC); _DMUC_DCHUNG.SetStatus(true, txtKieuchuyenvien.Text); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtKieuchuyenvien.Text; txtKieuchuyenvien.Init(); txtKieuchuyenvien._Text = oldCode; txtKieuchuyenvien.Focus(); } }
void txtLydo__OnSaveAs() { if (Utility.DoTrim(txtLydo.Text) == "") { return; } DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtLydo.LOAI_DANHMUC); _DMUC_DCHUNG.SetStatus(true, txtLydo.Text); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtLydo.myCode; txtLydo.Init(); txtLydo.SetCode(oldCode); txtLydo.Focus(); } }
void txtTrangthainguoibenh__OnSaveAs() { if (Utility.DoTrim(txtTrangthainguoibenh.Text) == "") { return; } DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtTrangthainguoibenh.LOAI_DANHMUC); _DMUC_DCHUNG.SetStatus(true, txtTrangthainguoibenh.Text); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtTrangthainguoibenh.Text; txtTrangthainguoibenh.Init(); txtTrangthainguoibenh._Text = oldCode; txtTrangthainguoibenh.Focus(); } }
public static void ShowMe(AutoCompleteTextbox_Danhmucchung txt) { try { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txt.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txt.myCode; txt.Init(); txt.SetCode(oldCode); txt.Focus(); } } catch (Exception ex) { Utility.CatchException(ex); } }