private void txtDonvitinh__OnShowData() { var _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 txtQuychuan__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtQuychuan.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtQuychuan.myCode; txtQuychuan.Init(); txtQuychuan.SetCode(oldCode); txtQuychuan.Focus(); } }
void txtDonvitinh__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); txtDonvitinh.Focus(); } }
void txtNhominphoiBHYT__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtNhominphoiBHYT.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtNhominphoiBHYT.myCode; txtNhominphoiBHYT.Init(); txtNhominphoiBHYT.SetCode(oldCode); txtNhominphoiBHYT.Focus(); } }
private void cmdPrint_Click(object sender, EventArgs e) { try { if (!Utility.isValidGrid(grdList)) { return; } DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(Utility.sDbnull(Utility.getValueOfGridCell(grdList, DmucKieudmuc.Columns.MaLoai), "")); _DMUC_DCHUNG.ShowDialog(); } catch { } }
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); } }
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 txtLoaiBN__OnSaveAs() { if (Utility.DoTrim(txtLoaiBN.Text) == "") return; DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtLoaiBN.LOAI_DANHMUC); _DMUC_DCHUNG.SetStatus(true, txtLoaiBN.Text); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtLoaiBN.myCode; txtLoaiBN.Init(); txtLoaiBN.SetCode(oldCode); txtLoaiBN.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(); } }
private void txtCachDung__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtCachDung.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtCachDung.myCode; txtCachDung.Init(); txtCachDung.SetCode(oldCode); txtCachDung.Focus(); } }
void txtTinhtrangravien__OnSaveAs() { if (Utility.DoTrim(txtTinhtrangravien.Text) == "") return; DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtTinhtrangravien.LOAI_DANHMUC); _DMUC_DCHUNG.SetStatus(true, txtTinhtrangravien.Text); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtTinhtrangravien.Text; txtTinhtrangravien.Init(); txtTinhtrangravien._Text = oldCode; txtTinhtrangravien.Focus(); } }
void txtPhuongphapdieutri__OnSaveAs() { if (Utility.DoTrim(txtPhuongphapdieutri.Text) == "") return; DMUC_DCHUNG _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 txtHuongdieutri__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtHuongdieutri.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtHuongdieutri.myCode; txtHuongdieutri.Init(); txtHuongdieutri.SetCode(oldCode); txtHuongdieutri.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 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(); } }
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(); } }
void txtPhuongphapthu__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtPhuongphapthu.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtPhuongphapthu.myCode; txtPhuongphapthu.Init(); txtPhuongphapthu.SetCode(oldCode); txtPhuongphapthu.Focus(); } }
void txtDonvitinh__OnShowData() { 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 txtKqdieutri__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtKqdieutri.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtKqdieutri.Text; txtKqdieutri.Init(); txtKqdieutri._Text = oldCode; txtKqdieutri.Focus(); } }
private void txtNhommau__OnSaveAs() { if (Utility.DoTrim(txtNhommau.Text) == "") return; var _DMUC_DCHUNG = new DMUC_DCHUNG(txtNhommau.LOAI_DANHMUC); _DMUC_DCHUNG.SetStatus(true, txtNhommau.Text); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtNhommau.myCode; txtNhommau.Init(); txtNhommau.SetCode(oldCode); txtNhommau.Focus(); } }
void txtPhuongphapdieutri__OnShowData() { DMUC_DCHUNG _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(); } }
private void txtNhommau__OnShowData() { var _DMUC_DCHUNG = new DMUC_DCHUNG(txtNhommau.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtNhommau.myCode; txtNhommau.Init(); txtNhommau.SetCode(oldCode); txtNhommau.Focus(); } }
void txtTinhtrangravien__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtTinhtrangravien.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtTinhtrangravien.Text; txtTinhtrangravien.Init(); txtTinhtrangravien._Text = oldCode; txtTinhtrangravien.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 txtNhacungcap__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtNhacungcap.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtNhacungcap.myCode; txtNhacungcap.Init(); txtNhacungcap.SetCode(oldCode); txtNhacungcap.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 txtLyDoXuat__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtLyDoXuat.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtNguoinhan.myCode; txtLyDoXuat.Init(); txtLyDoXuat.SetCode(oldCode); txtLyDoXuat.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 txtTrieuChungBD__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtTrieuChungBD.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtTrieuChungBD.myCode; txtTrieuChungBD.Init(); txtTrieuChungBD.SetCode(oldCode); txtTrieuChungBD.Focus(); } }
void txtDonvitinh__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); txtDonvitinh.Focus(); } }
void txtLydohuy__OnShowData() { DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(txtLydohuy.LOAI_DANHMUC); _DMUC_DCHUNG.ShowDialog(); if (!_DMUC_DCHUNG.m_blnCancel) { string oldCode = txtLydohuy.myCode; txtLydohuy.Init(); txtLydohuy.SetCode(oldCode); txtLydohuy.Focus(); } }
private void cmdPrint_Click(object sender, EventArgs e) { try { if (!Utility.isValidGrid(grdList)) return; DMUC_DCHUNG _DMUC_DCHUNG = new DMUC_DCHUNG(Utility.sDbnull(Utility.getValueOfGridCell(grdList, DmucKieudmuc.Columns.MaLoai), "")); _DMUC_DCHUNG.ShowDialog(); } catch { } }