コード例 #1
0
        private void cmdConfig_Click(object sender, EventArgs e)
        {
            frm_Properties frm = new frm_Properties(_QMSProperties);

            frm.ShowDialog();
            CauHinh();
        }
コード例 #2
0
ファイル: ucTamung.cs プロジェクト: vmshis2015/VMSHIS2017
        private void cmdConfig_Click(object sender, EventArgs e)
        {
            frm_Properties _Properties = new frm_Properties(PropertyLib._NoitruProperties);

            _Properties.ShowDialog();
            LoadConfig();
        }
コード例 #3
0
        private void cmdCauHinh_Click(object sender, EventArgs e)
        {
            var frm = new frm_Properties(PropertyLib._NoitruProperties);

            frm.ShowDialog();
            cauhinh();
        }
コード例 #4
0
        void cmdConfig_Click(object sender, EventArgs e)
        {
            frm_Properties _Properties = new frm_Properties(PropertyLib._DynamicInputProperties);

            _Properties.ShowDialog();
            Config();
        }
コード例 #5
0
        private void cmdConfig_Click(object sender, EventArgs e)
        {
            frm_Properties frm = new frm_Properties(PropertyLib._HISQMSProperties);

            frm.TopMost = true;
            frm.ShowDialog();
            CauHinh();
        }
コード例 #6
0
 private void cmdConfig_Click(object sender, EventArgs e)
 {
     if (PropertyLib._xmlproperties != null)
     {
         var frm = new frm_Properties(PropertyLib._xmlproperties);
         frm.ShowDialog();
         //CauHinhKCB();
     }
 }
コード例 #7
0
        void cmdCauHinh_Click(object sender, EventArgs e)
        {
            frm_Properties _Properties = new frm_Properties(PropertyLib._ThuocProperties);

            if (_Properties.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                Cauhinh();
            }
        }
コード例 #8
0
 void cmdConfig_Click(object sender, EventArgs e)
 {
     try
     {
         frm_Properties frm = new frm_Properties(PropertyLib._TrathuocthuaProperties);
         frm.ShowDialog();
         CauHinh();
     }
     catch (Exception exception)
     {
     }
 }
コード例 #9
0
 private void cmdConfig_Click(object sender, EventArgs e)
 {
     try
     {
         frm_Properties _Properties = new frm_Properties(PropertyLib._DuocNoitruProperties);
         _Properties.ShowDialog();
         CauHinh();
     }
     catch (Exception exception)
     {
     }
 }
コード例 #10
0
 /// <summary>
 /// hàm thực hiện viecj cấu hình
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void cmdConfig_Click(object sender, EventArgs e)
 {
     try
     {
         frm_Properties frm = new frm_Properties(PropertyLib._HisDuocProperties);
         frm.ShowDialog();
         CauHinh();
     }
     catch (Exception exception)
     {
         Utility.ShowMsg("Lỗi" + exception.Message);
     }
 }
コード例 #11
0
 /// <summary>
 /// hàm thực hiện viec
 ///
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void cmdCauHinh_Click(object sender, EventArgs e)
 {
     try
     {
         frm_Properties frm = new frm_Properties(PropertyLib._HISQMSProperties);
         frm.ShowDialog();
         CauHinh();
     }
     catch (Exception ex)
     {
         Utility.ShowMsg("Lỗi:" + ex.Message);
     }
 }
コード例 #12
0
        private void cmdCauhinh_Click(object sender, EventArgs e)
        {
            try
            {
                frm_Properties frm = new frm_Properties(PropertyLib._ChuyenkhoProperties);
                frm.ShowDialog();
                CauHinh();

                //grdPresDetail.SaveLayoutFile();
            }
            catch (Exception exception)
            {
            }
        }
コード例 #13
0
ファイル: frm_Login.cs プロジェクト: ngocminhgreens/HISLink
        private void cmdSettings_Click(object sender, EventArgs e)
        {
            //oldVal = PropertyLib._ConfigProperties.RunUnderWS;
            var properties = new frm_Properties(PropertyLib._ConfigProperties)
            {
                TopMost = true
            };

            properties.ShowDialog();
            //if (oldVal != PropertyLib._ConfigProperties.RunUnderWS)
            //{
            if (PropertyLib._ConfigProperties.RunUnderWS)
            {
                string dataBaseServer = "";
                string dataBaseName   = "";
                string uid            = "";
                string pwd            = "";
                WS._AdminWS.GetConnectionString(ref dataBaseServer, ref dataBaseName, ref uid, ref pwd, globalVariables.gv_strIPAddress);
                PropertyLib._ConfigProperties.DataBaseServer = dataBaseServer;
                PropertyLib._ConfigProperties.DataBaseName   = dataBaseName;
                PropertyLib._ConfigProperties.UID            = uid;
                PropertyLib._ConfigProperties.PWD            = pwd;
                globalVariables.ServerName = PropertyLib._ConfigProperties.DataBaseServer;
                globalVariables.sUName     = PropertyLib._ConfigProperties.UID;
                globalVariables.sPwd       = PropertyLib._ConfigProperties.PWD;
                globalVariables.sDbName    = PropertyLib._ConfigProperties.DataBaseName;
            }
            else
            {
                globalVariables.ServerName = PropertyLib._ConfigProperties.DataBaseServer;
                globalVariables.sUName     = PropertyLib._ConfigProperties.UID;
                globalVariables.sPwd       = PropertyLib._ConfigProperties.PWD;
                globalVariables.sDbName    = PropertyLib._ConfigProperties.DataBaseName;
                globalVariables.sMenuStyle = "DOCKING";

                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;
            }
            Utility.InitSubSonic(new ConnectionSQL().KhoiTaoKetNoi(), "ORM");
            //}
        }
コード例 #14
0
        private void cmdCauhinh_Click(object sender, EventArgs e)
        {
            frm_Properties frm = new frm_Properties(PropertyLib._KCBProperties);

            frm.ShowDialog();
        }
コード例 #15
0
        private void cmdPrintSettings_Click(object sender, EventArgs e)
        {
            frm_Properties _Properties = new frm_Properties(PropertyLib._MayInProperties);

            _Properties.ShowDialog();
        }