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