コード例 #1
0
 private void cmdConfig_Click(object sender, EventArgs e)
 {
     frm_Properties frm = new frm_Properties( PropertyLib._HISQMSProperties);
     frm.TopMost = true;
     frm.ShowDialog();
     CauHinh();
 }
コード例 #2
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)
            {

            }
        }
コード例 #3
0
        private void cmdConfig_Click(object sender, EventArgs e)
        {
            try
            {
                frm_Properties frm = new frm_Properties( PropertyLib._DuocNoitruProperties);

                frm.ShowDialog();
                CauHinh();
            }
            catch (Exception exception)
            {

            }
        }
コード例 #4
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)
            {

            }
        }
コード例 #5
0
ファイル: frm_QMS.cs プロジェクト: khaha2210/CodeNewHis
 private void cmdConfig_Click(object sender, EventArgs e)
 {
     frm_Properties frm = new frm_Properties(_QMSProperties);
     frm.ShowDialog();
     CauHinh();
     InitControls();
 }
コード例 #6
0
 private void lnkSize_Click(object sender, EventArgs e)
 {
     var _Properties = new frm_Properties(PropertyLib._DynamicInputProperties);
     if (_Properties.ShowDialog() == DialogResult.OK)
     {
         ShowResult();
     }
 }
コード例 #7
0
 void cmdNoitruConfig_Click(object sender, EventArgs e)
 {
     frm_Properties frm = new frm_Properties(PropertyLib._NoitruProperties);
     frm.ShowDialog();
 }
コード例 #8
0
 void lnkSize_Click(object sender, EventArgs e)
 {
     frm_Properties _Properties = new frm_Properties(PropertyLib._DynamicInputProperties);
     if (_Properties.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         ShowResult();
     }
 }
コード例 #9
0
 void cmdConfig_Click(object sender, EventArgs e)
 {
     frm_Properties frm = new frm_Properties(PropertyLib._KCBProperties);
     frm.ShowDialog();
     CauHinhKCB();
 }
コード例 #10
0
 private void cmdConfig_Click(object sender, EventArgs e)
 {
     frm_Properties _Properties = new frm_Properties(PropertyLib._NoitruProperties);
     _Properties.ShowDialog();
 }
コード例 #11
0
 private void cmdCauHinh_Click(object sender, EventArgs e)
 {
     var frm = new frm_Properties(PropertyLib._NoitruProperties);
     frm.ShowDialog();
     cauhinh();
 }
コード例 #12
0
 void cmdConfig_Click(object sender, EventArgs e)
 {
     frm_Properties _Properties = new frm_Properties(PropertyLib._DynamicInputProperties);
     _Properties.ShowDialog();
     Config();
 }
コード例 #13
0
 void cmdThamkhamConfig_Click(object sender, EventArgs e)
 {
     frm_Properties frm = new frm_Properties(PropertyLib._ThamKhamProperties);
     frm.ShowDialog();
     CauHinhThamKham();
 }
コード例 #14
0
 void cmdConfig_Click(object sender, EventArgs e)
 {
     frm_Properties _Properties = new frm_Properties(PropertyLib._FTPProperties);
     _Properties.ShowDialog();
     SaveConfig();
     CauHinh();
 }
コード例 #15
0
 void cmdPrintProperties_Click(object sender, EventArgs e)
 {
     frm_Properties frm = new frm_Properties(PropertyLib._MayInProperties);
     frm.ShowDialog();
     CauHinh();
 }
コード例 #16
0
 private void cmdCauhinh_Click(object sender, EventArgs e)
 {
     frm_Properties frm = new frm_Properties(PropertyLib._KCBProperties);
     frm.ShowDialog();
     CauHinh();
 }
コード例 #17
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();
 }
コード例 #18
0
 void cmdQMSProperty_Click(object sender, EventArgs e)
 {
     frm_Properties frm = new frm_Properties(PropertyLib._HISQMSProperties);
     frm.ShowDialog();
     CauHinhQMS();
 }
コード例 #19
0
 void cmdCauhinhgia_Click(object sender, EventArgs e)
 {
     frm_Properties _Properties = new frm_Properties(PropertyLib._QheGiaThuocProperties);
     _Properties.ShowDialog();
 }
コード例 #20
0
 void cmdCauHinh_Click(object sender, EventArgs e)
 {
     frm_Properties _Properties = new frm_Properties(PropertyLib._NoitruProperties);
     _Properties.ShowDialog();
     Cauhinh();
 }
コード例 #21
0
 /// <summary>
 /// hàm thực hiện việc cấu hình của cls
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void cmdCauHinh_Click(object sender, EventArgs e)
 {
     frm_Properties frm = new frm_Properties(PropertyLib._HISCLSProperties);
     frm.ShowDialog();
     CauHinh();
     //InitData();
 }
コード例 #22
0
ファイル: frm_Login.cs プロジェクト: vmshis2020/VMSPharmacy
        private void cmdSettings_Click(object sender, EventArgs e)
        {
            //oldVal = PropertyLib._ConfigProperties.RunUnderWS;
            frm_Properties _Properties = new frm_Properties(PropertyLib._ConfigProperties);
            _Properties.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);
                    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");
            //}
        }
コード例 #23
0
ファイル: frm_Settings.cs プロジェクト: khaha2210/CodeNewHis
 private void cmdPrintSettings_Click(object sender, EventArgs e)
 {
     frm_Properties _Properties = new frm_Properties(PropertyLib._MayInProperties);
     _Properties.ShowDialog();
 }