Esempio n. 1
0
 /// <summary>
 ///     hàm thực hiện việc đăng nhập thông tin của khi đăng nhập Login
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void frm_Login_Load(object sender, EventArgs e)
 {
     try
     {
         globalVariables.StringLicense = GetRequestLicenseCode() + THU_VIEN_CHUNG.GetMACAddress();
         DataTable dtKhoaphong = THU_VIEN_CHUNG.Laydanhmuckhoa("ALL", 0);
         DataBinding.BindDataCombobox(cboKhoaKCB, dtKhoaphong, DmucKhoaphong.Columns.MaKhoaphong,
                                      DmucKhoaphong.Columns.TenKhoaphong, "---Khoa làm việc---", false);
         PropertyLib._AppProperties    = PropertyLib.GetAppPropertiess();
         PropertyLib._ConfigProperties = PropertyLib.GetConfigProperties();
         cbogiaodien.SelectedIndex     = PropertyLib._AppProperties.MenuStype;
         txtUserName.Text         = PropertyLib._AppProperties.UID;
         _oldUid                  = txtUserName.Text;
         chkRemember.Checked      = PropertyLib._AppProperties.REM;
         lblMsg.Text              = "";
         cboKhoaKCB.SelectedIndex = Utility.GetSelectedIndex(cboKhoaKCB, PropertyLib._ConfigProperties.MaKhoa);
         if (cboKhoaKCB.SelectedIndex <= 0)
         {
             cboKhoaKCB.SelectedIndex = Utility.GetSelectedIndex(cboKhoaKCB, PropertyLib._AppProperties.Makhoathien);
         }
         if (PropertyLib._AppProperties.AutoLogin)
         {
             txtPassWord.Text = PropertyLib._AppProperties.PWD;
             cmdLogin_Click(cmdLogin, e);
         }
     }
     catch (Exception ex)
     {
         Utility.ShowMsg("Lỗi:" + ex);
     }
 }
Esempio n. 2
0
        /// <summary>
        ///     hàm thực hiện viecj đang nhập thông tin
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void cmdLogin_Click(object sender, EventArgs e)
        {
            try
            {
                Application.DoEvents();
                Utility.WaitNow(this);
                cmdLogin.Enabled = false;
                if (!IsValid())
                {
                    cmdLogin.Enabled = true;
                    Utility.DefaultNow(this);
                    return;
                }
                if (chkRemember.Checked)
                {
                    PropertyLib._AppProperties.UID       = Utility.sDbnull(txtUserName.Text);
                    PropertyLib._AppProperties.REM       = true;
                    PropertyLib._AppProperties.MenuStype = cbogiaodien.SelectedIndex;
                    PropertyLib.SaveProperty(PropertyLib._AppProperties);
                }

                PropertyLib._AppProperties.PWD = Utility.sDbnull(txtPassWord.Text);
                Close();
                Utility.DefaultNow(this);
            }
            catch (Exception ex)
            {
                Utility.ShowMsg(ex.Message);
            }
            finally
            {
                cmdLogin.Enabled = true;
                Utility.DefaultNow(this);
            }
        }
Esempio n. 3
0
        public void ReadConfig()
        {
            try
            {
                HIS.WS.LoginWS _LoginWS = new HIS.WS.LoginWS();

                string _path = Application.StartupPath + @"\Properties";

                ConfigProperties _ConfigProperties = PropertyLib.GetConfigProperties(_path);
                string           ServerName        = _ConfigProperties.DataBaseServer;
                string           sUName            = _ConfigProperties.UID;
                string           sPwd    = _ConfigProperties.PWD;
                string           sDbName = _ConfigProperties.DataBaseName;
                _LoginWS.Url = _ConfigProperties.WSURL;
                if (_ConfigProperties.RunUnderWS)
                {
                    string DataBaseServer = "";
                    string DataBaseName   = "";
                    string UID            = "";
                    string PWD            = "";
                    _LoginWS.GetConnectionString(ref ServerName, ref sDbName, ref sUName, ref sPwd);
                }
                sqlConnectionString = "workstation id=" + ServerName + ";packet size=4096;data source=" + ServerName + ";persist security info=False;initial catalog=" + sDbName + ";uid=" + sUName + ";pwd=" + sPwd;
            }
            catch (Exception ex)
            {
                sqlConnectionString = "";
            }
        }
Esempio n. 4
0
 /// <summary>
 /// hàm thực hiện việc đăng nhập thông tin của khi đăng nhập Login
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void frm_Login_Load(object sender, EventArgs e)
 {
     try
     {
         DataTable dtKhoaphong = THU_VIEN_CHUNG.Laydanhmuckhoa("ALL", 0);
         DataBinding.BindDataCombobox(cboKhoaKCB, dtKhoaphong, DmucKhoaphong.Columns.MaKhoaphong, DmucKhoaphong.Columns.TenKhoaphong, "---Khoa làm việc---", false);
         PropertyLib._AppProperties = PropertyLib.GetAppPropertiess();
         cbogiaodien.SelectedIndex  = PropertyLib._AppProperties.MenuStype;
         txtUserName.Text           = PropertyLib._AppProperties.UID;
         oldUID = txtUserName.Text;
         chkRemember.Checked      = PropertyLib._AppProperties.REM;
         cboKhoaKCB.SelectedIndex = Utility.GetSelectedIndex(cboKhoaKCB, PropertyLib._AppProperties.Makhoathien);
         if (PropertyLib._AppProperties.AutoLogin)
         {
             txtPassWord.Text = PropertyLib._AppProperties.PWD;
             cmdLogin_Click(cmdLogin, e);
         }
     }
     catch (Exception)
     {
     }
     finally
     {
     }
 }
 void optAll_CheckedChanged(object sender, EventArgs e)
 {
     try
     {
         if (!mv_blnHasloaded)
         {
             return;
         }
         string RowFilter = "1=1";
         PropertyLib._ThanhtoanProperties.CachhienthidulieuNoitru = DisplayType.Tatca;
         if (optNoitru.Checked)
         {
             PropertyLib._ThanhtoanProperties.CachhienthidulieuNoitru = DisplayType.Noitru;
             RowFilter = "noi_tru=1";
         }
         if (optNgoaitru.Checked)
         {
             PropertyLib._ThanhtoanProperties.CachhienthidulieuNoitru = DisplayType.Ngoaitru;
             RowFilter = "noi_tru=0";
         }
         m_dtChiPhiThanhtoan.DefaultView.RowFilter = RowFilter;
         m_dtChiPhiThanhtoan.AcceptChanges();
         PropertyLib.SaveProperty(PropertyLib._ThanhtoanProperties);
     }
     catch (Exception ex)
     {
     }
 }
Esempio n. 6
0
        public frm_KetNoi_DuyetBHYT()
        {
            InitializeComponent();

            dtToDate.Value = dtFromDate.Value = globalVariables.SysDate;
            Utility.VisiableGridEx(grdList, KcbPhieuDct.Columns.IdPhieuDct, globalVariables.IsAdmin);
            PropertyLib._xmlproperties = PropertyLib.GetXMLProperties();
        }
 void chkchedotheodoi_CheckedChanged(object sender, EventArgs e)
 {
     if (!mv_blnHasLoaded)
     {
         return;
     }
     PropertyLib._NoitruProperties.SaochepDinhDuong = chkchedotheodoi.Checked;
     PropertyLib.SaveProperty(PropertyLib._NoitruProperties);
 }
Esempio n. 8
0
 void chkNoview_CheckedChanged(object sender, EventArgs e)
 {
     if (!m_blnLoaded)
     {
         return;
     }
     PropertyLib._ThanhtoanProperties.Hienthihuythanhtoan = chkNoview.Checked;
     PropertyLib.SaveProperty(PropertyLib._ThanhtoanProperties);
 }
Esempio n. 9
0
        private void cmdOK_Click(object sender, EventArgs e)
        {
            PropertyLib.SaveProperty(PropertyLib._AppProperties);
            this.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.Close();
            ToolStripMenuItem a = new ToolStripMenuItem();

            a.Click += new EventHandler(a_Click);
        }
 void chkYlenh_CheckedChanged(object sender, EventArgs e)
 {
     if (!mv_blnHasLoaded)
     {
         return;
     }
     PropertyLib._NoitruProperties.SaochepYLenh = chkYlenh.Checked;
     PropertyLib.SaveProperty(PropertyLib._NoitruProperties);
 }
 private void chkVatTu_CheckedChanged(object sender, EventArgs e)
 {
     if (!mv_blnHasLoaded)
     {
         return;
     }
     PropertyLib._NoitruProperties.SaochepVTTH = chkVatTu.Checked;
     PropertyLib.SaveProperty(PropertyLib._NoitruProperties);
     RowFilter();
 }
Esempio n. 12
0
        public bool ReadConfig()
        {
            try
            {
                PropertyLib._ConfigProperties = PropertyLib.GetConfigProperties();
                globalVariables.ServerName    = PropertyLib._ConfigProperties.DataBaseServer;
                globalVariables.sUName        = PropertyLib._ConfigProperties.UID;
                globalVariables.sPwd          = PropertyLib._ConfigProperties.PWD;
                globalVariables.sDbName       = PropertyLib._ConfigProperties.DataBaseName;
                globalVariables.sMenuStyle    = "DOCKING"; // Utility.sDbnull(dsConfigXML.Tables[0].Rows[0]["INTERFACEDISPLAY"], "MENU").ToUpper();

                globalVariables.MA_KHOA_THIEN  = PropertyLib._ConfigProperties.MaKhoa;
                globalVariables.MA_PHONG_THIEN = PropertyLib._ConfigProperties.Maphong;
                globalVariables.SOMAYLE        = PropertyLib._ConfigProperties.Somayle;
                return(true);
                //DataSet dsConfigXML = new DataSet();

                //string sPathXML = Application.StartupPath + @"\Config.XML";
                //if (System.IO.File.Exists(sPathXML))
                //{
                //    dsConfigXML.ReadXml(sPathXML);
                //    if (dsConfigXML.Tables[0].Rows.Count > 0)
                //    {
                //        //globalVariables.gv_MaDonVi = Utility.sDbnull(dsConfigXML.Tables[0].Rows[0]["BranchID"], ".");
                //        globalVariables.ServerName = Utility.sDbnull(dsConfigXML.Tables[0].Rows[0]["SERVERADDRESS"], ".");
                //        globalVariables.sUName = Utility.sDbnull(dsConfigXML.Tables[0].Rows[0]["USERNAME"], "sa");
                //        globalVariables.sPwd = Utility.sDbnull(dsConfigXML.Tables[0].Rows[0]["PASSWORD"], "sa");
                //        globalVariables.sDbName = Utility.sDbnull(dsConfigXML.Tables[0].Rows[0]["DATABASE_ID"], "RISLINK_DB");
                //        globalVariables.sMenuStyle = Utility.sDbnull(dsConfigXML.Tables[0].Rows[0]["INTERFACEDISPLAY"], "MENU").ToUpper();
                //        globalVariables.MIN_STT = Utility.Int32Dbnull(dsConfigXML.Tables[0].Rows[0]["MIN_STT"], 1);
                //        globalVariables.MAX_STT = Utility.Int32Dbnull(dsConfigXML.Tables[0].Rows[0]["MAX_STT"], 99999999);
                //        string[] _value = Utility.sDbnull(dsConfigXML.Tables[0].Rows[0]["LOCALALIAS"], "KYC-108-145").ToUpper().Split('-');
                //        if (_value.Length != 4)
                //        {
                //            Utility.ShowMsg("Giá trị Localalias trong file Config phải có dạng Mã khoa thực hiện-Mã phòng khám-Số máy lẻ của khoa-Danh sách kho thuốc thanh toán. Bạn nên thoát chương trình và vào lại sau khi chỉnh sửa xong");
                //            return false;
                //        }
                //        globalVariables.MA_KHOA_THIEN = _value[0];
                //        globalVariables.MA_PHONG_THIEN = _value[1];
                //        globalVariables.SOMAYLE = _value[2];
                //        globalVariables.DANHSACHKHO = _value[3];
                //        return true;
                //    }
                //    return true;
                //}

                //Utility.ShowMsg("Không tìm thấy File Config.XML , Bạn xem lại", "Thông báo", MessageBoxIcon.Error);
                //return false;
            }
            catch (Exception ex)
            {
                Utility.ShowMsg("Lỗi khi load file Config.xml\n" + ex.Message);
                return(false);
            }
        }
 private void chkViewAll_CheckedChanged(object sender, EventArgs e)
 {
     if (!mv_blnHasLoaded)
     {
         return;
     }
     dtNgaylapphieu.Enabled = !chkViewAll.Checked;
     PropertyLib._NoitruProperties.Hienthitatcaphieudieutrikhisaochep = chkViewAll.Checked;
     PropertyLib.SaveProperty(PropertyLib._NoitruProperties);
     LaydanhsachPhieudieutri();
 }
Esempio n. 14
0
 void SaveDefaultPrinter()
 {
     try
     {
         PropertyLib._MayInProperties.Tenmayincuoicung = Utility.sDbnull(cboPrinter.Text);
         PropertyLib.SaveProperty(PropertyLib._MayInProperties);
     }
     catch (Exception ex)
     {
         Utility.ShowMsg("Lỗi khi lưu trạng thái-->" + ex.Message);
     }
 }
 private void CauHinh()
 {
     if (PropertyLib._NoitruProperties == null)
     {
         PropertyLib._NoitruProperties = PropertyLib.GetNoitruProperties();
     }
     chkViewAll.Checked      = PropertyLib._NoitruProperties.Hienthitatcaphieudieutrikhisaochep;
     dtNgaylapphieu.Enabled  = !chkViewAll.Checked;
     chkCLS.Checked          = PropertyLib._NoitruProperties.SaochepCLS;
     chkThuoc.Checked        = PropertyLib._NoitruProperties.SaochepThuoc;
     chkVatTu.Checked        = PropertyLib._NoitruProperties.SaochepVTTH;
     chkYlenh.Checked        = PropertyLib._NoitruProperties.SaochepYLenh;
     chkchedotheodoi.Checked = PropertyLib._NoitruProperties.SaochepDinhDuong;
 }
Esempio n. 16
0
        private void cmdPrint_Click(object sender, EventArgs e)
        {
            try
            {
                if (Utility.Int32Dbnull(txtCopyPage.Text) <= 0)
                {
                    txtCopyPage.Focus();
                    txtCopyPage.SelectAll();
                    txtCopyPage.Text = "1";
                    return;
                }
                new Update(SysReport.Schema).Set(SysReport.Columns.PrintNumber).EqualTo(Utility.Int32Dbnull(txtCopyPage.Text, 1))
                .Where(SysReport.Columns.MaBaocao).IsEqualTo(mv_sReportCode).Execute();
                WritePrintNumber(txtCopyPage.Text);
                if (cboPrinter.SelectedIndex > -1)
                {
                    RptDoc.PrintOptions.PrinterName = cboPrinter.Text;
                    RptDoc.PrintToPrinter(Utility.Int32Dbnull(txtCopyPage.Text, 1), true, 0, 0);
                    switch (printype)
                    {
                    case 0:
                        PropertyLib._MayInProperties.TenMayInBienlai = cboPrinter.Text;
                        break;

                    case 1:
                        PropertyLib._MayInProperties.TenMayInHoadon = cboPrinter.Text;
                        break;

                    case 2:
                        PropertyLib._MayInProperties.TenMayInPhieuKCB = cboPrinter.Text;
                        break;

                    default:
                        PropertyLib._MayInProperties.TenMayInBienlai = cboPrinter.Text;
                        break;
                    }
                    PropertyLib.SaveProperty(PropertyLib._MayInProperties);
                    this.Close();
                }
                else
                {
                    Utility.ShowMsg("Bạn cần chọn máy in", "Thông báo");
                }
            }
            catch (Exception)
            {
            }
        }
Esempio n. 17
0
 /// <summary>
 /// hàm thực hiện viecj đang nhập thông tin
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void cmdLogin_Click(object sender, EventArgs e)
 {
     try
     {
         if (cboKhoaKCB.SelectedValue.ToString() == "-1")
         {
             UIAction.SetTextStatus(lblMsg, "Bạn cần chọn khoa làm việc", true);
             cboKhoaKCB.Focus();
             return;
         }
         if (cboKhoaKCB.SelectedValue.ToString().ToUpper() == globalVariables.objKhoaphong.MaKhoaphong.ToUpper())
         {
             UIAction.SetTextStatus(lblMsg, "Bạn cần chọn khoa làm việc khác khoa làm việc hiện tại (" + globalVariables.objKhoaphong.TenKhoaphong + ")", true);
             cboKhoaKCB.Focus();
             return;
         }
         if (!Utility.AcceptQuestion(string.Format("Bạn đã chắc chắn muốn chuyển từ {0} sang {1} để làm việc hay không?\nChú ý: Sau khi chuyển hệ thống sẽ tắt toàn bộ các chức năng bạn đang bật và tự động bật lại ở chế độ mới mở(Do vậy tốt hơn hết bạn cần kết thúc các công việc đang làm dang dở ở khoa {2} trước khi chuyển khoa làm việc mới)",
                                                   globalVariables.objKhoaphong.TenKhoaphong, cboKhoaKCB.Text, globalVariables.objKhoaphong.TenKhoaphong), "Xác nhận chuyển khoa", true))
         {
             return;
         }
         Application.DoEvents();
         Utility.WaitNow(this);
         cmdLogin.Enabled = false;
         if (!IsValid())
         {
             cmdLogin.Enabled = true;
             Utility.DefaultNow(this);
             return;
         }
         PropertyLib._AppProperties.Makhoathien = Utility.sDbnull(cboKhoaKCB.SelectedValue, "KKB");
         globalVariables.MA_KHOA_THIEN          = PropertyLib._AppProperties.Makhoathien;
         PropertyLib.SaveProperty(PropertyLib._AppProperties);
         b_Cancel = false;
         this.Close();
         _OnChangedDepartment();
         Utility.DefaultNow(this);
     }
     catch
     { }
     finally
     {
         cmdLogin.Enabled = true;
         Utility.DefaultNow(this);
     }
 }
Esempio n. 18
0
        private void cmdPrint_Click(object sender, EventArgs e)
        {
            try
            {
                if (Utility.Int32Dbnull(txtCopyPage.Text) <= 0)
                {
                    Utility.ShowMsg("Số lượng bản in phải>=1", "Thông báo", MessageBoxIcon.Warning);
                    txtCopyPage.Focus();
                    txtCopyPage.SelectAll();
                    txtCopyPage.Text = "1";
                    return;
                }
                if (cboPrinter.SelectedIndex > -1)
                {
                    RptDoc.PrintOptions.PrinterName = cboPrinter.Text;
                    RptDoc.PrintToPrinter(Utility.Int32Dbnull(txtCopyPage.Text, 1), true, 0, 0);
                    switch (printype)
                    {
                    case 0:
                        PropertyLib._MayInProperties.TenMayInBienlai = cboPrinter.Text;
                        break;

                    case 1:
                        PropertyLib._MayInProperties.TenMayInHoadon = cboPrinter.Text;
                        break;

                    case 2:
                        PropertyLib._MayInProperties.TenMayInPhieuKCB = cboPrinter.Text;
                        break;

                    default:
                        PropertyLib._MayInProperties.TenMayInBienlai = cboPrinter.Text;
                        break;
                    }
                    PropertyLib.SaveProperty(PropertyLib._MayInProperties);
                    this.Close();
                }
                else
                {
                    Utility.ShowMsg("Bạn cần chọn máy in", "Thông báo");
                }
            }
            catch (Exception)
            {
            }
        }
Esempio n. 19
0
        /// <summary>
        /// hàm thực hiện viecj đang nhập thông tin
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void cmdLogin_Click(object sender, EventArgs e)
        {
            try
            {
                //if (cboKhoaKCB.SelectedValue.ToString() == "-1")
                //{
                //    UIAction.SetTextStatus(lblMsg, "Bạn cần chọn khoa làm việc", true);
                //    cboKhoaKCB.Focus();
                //    return;
                //}
                Application.DoEvents();
                Utility.WaitNow(this);
                cmdLogin.Enabled = false;
                if (!IsValid())
                {
                    cmdLogin.Enabled = true;
                    Utility.DefaultNow(this);
                    return;
                }
                if (chkRemember.Checked)
                {
                    PropertyLib._AppProperties.UID       = Utility.sDbnull(txtUserName.Text);
                    PropertyLib._AppProperties.REM       = chkRemember.Checked;
                    PropertyLib._AppProperties.MenuStype = cbogiaodien.SelectedIndex;
                    PropertyLib.SaveProperty(PropertyLib._AppProperties);
                }

                PropertyLib._AppProperties.PWD = Utility.sDbnull(txtPassWord.Text);
                this.Close();
                Utility.DefaultNow(this);
            }
            catch
            { }
            finally
            {
                cmdLogin.Enabled = true;
                Utility.DefaultNow(this);
            }
        }
Esempio n. 20
0
 /// <summary>
 ///     hàm thực hiện viecj đang nhập thông tin
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void cmdLogin_Click(object sender, EventArgs e)
 {
     try
     {
         Application.DoEvents();
         Utility.WaitNow(this);
         cmdLogin.Enabled = false;
         if (!IsValid())
         {
             cmdLogin.Enabled = true;
             Utility.DefaultNow(this);
             return;
         }
         if (chkRemember.Checked)
         {
             PropertyLib._AppProperties.UID       = Utility.sDbnull(txtUserName.Text);
             PropertyLib._AppProperties.REM       = true;
             PropertyLib._AppProperties.MenuStype = cbogiaodien.SelectedIndex;
             PropertyLib.SaveProperty(PropertyLib._AppProperties);
         }
         PropertyLib._AppProperties.PWD = Utility.sDbnull(txtPassWord.Text);
         Close();
         Utility.DefaultNow(this);
     }
     catch (Exception ex)
     {
         Utility.ShowMsg(ex.Message);
     }
     finally
     {
         cmdLogin.Enabled = true;
         Utility.DefaultNow(this);
         string eMessage = THU_VIEN_CHUNG.thamkham_soluong_khambenh_theobacsy(globalVariables.SysDate, globalVariables.gv_intIDNhanvien);
         if (eMessage != "")
         {
             Utility.ShowMsg(eMessage, "Cảnh báo", MessageBoxIcon.Warning);
         }
     }
 }
Esempio n. 21
0
        public bool ReadConfig()
        {
            try
            {
                PropertyLib._ConfigProperties = PropertyLib.GetConfigProperties();
                globalVariables.ServerName    = PropertyLib._ConfigProperties.DataBaseServer;
                globalVariables.sUName        = PropertyLib._ConfigProperties.UID;
                globalVariables.sPwd          = PropertyLib._ConfigProperties.PWD;
                globalVariables.sDbName       = PropertyLib._ConfigProperties.DataBaseName;
                globalVariables.sMenuStyle    = "DOCKING"; // Utility.sDbnull(dsConfigXML.Tables[0].Rows[0]["INTERFACEDISPLAY"], "MENU").ToUpper();

                globalVariables.MA_KHOA_THIEN  = PropertyLib._ConfigProperties.MaKhoa;
                globalVariables.MA_PHONG_THIEN = PropertyLib._ConfigProperties.Maphong;
                globalVariables.SOMAYLE        = PropertyLib._ConfigProperties.Somayle;
                globalVariables.MIN_STT        = PropertyLib._ConfigProperties.Min;
                globalVariables.MAX_STT        = PropertyLib._ConfigProperties.Max;
                return(true);
            }
            catch (Exception ex)
            {
                Utility.ShowMsg("Lỗi khi load file Config.xml\n" + ex.Message);
                return(false);
            }
        }
Esempio n. 22
0
 void chkSaveAndPrint_CheckedChanged(object sender, EventArgs e)
 {
     PropertyLib._NoitruProperties.InsaukhiLuu = chkSaveAndPrint.Checked;
     PropertyLib.SaveProperty(PropertyLib._NoitruProperties);
 }
Esempio n. 23
0
 void chkPrintPreview_CheckedChanged(object sender, EventArgs e)
 {
     PropertyLib._MayInProperties.PreviewPhieuTamung = chkPrintPreview.Checked;
     PropertyLib.SaveProperty(PropertyLib._MayInProperties);
 }
Esempio n. 24
0
 void chkInngaysaukhiluu_CheckedChanged(object sender, EventArgs e)
 {
     PropertyLib._TrathuocthuaProperties.Insaukhiluu = chkInngaysaukhiluu.Checked;
     PropertyLib.SaveProperty(PropertyLib._TrathuocthuaProperties);
 }
Esempio n. 25
0
 void chkThoatngaysaukhinhapvien_CheckedChanged(object sender, EventArgs e)
 {
     PropertyLib._NoitruProperties.ThoatNgaysaukhiNhapvienthanhcong = chkThoatngaysaukhinhapvien.Checked;
     PropertyLib.SaveProperty(PropertyLib._NoitruProperties);
 }
Esempio n. 26
0
 private void chkInNgaySauKhiNhapVien_CheckedChanged(object sender, EventArgs e)
 {
     PropertyLib._NoitruProperties.InphieuNhapvienNgaysaukhiNhapvien = chkInNgaySauKhiNhapVien.Checked;
     PropertyLib.SaveProperty(PropertyLib._NoitruProperties);
 }