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(); } }
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(); } }