Esempio n. 1
0
 private void cmdConfig_Click(object sender, EventArgs e)
 {
     frm_Properties frm = new frm_Properties( PropertyLib._HISQMSProperties);
     frm.TopMost = true;
     frm.ShowDialog();
     CauHinh();
 }
        /// <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)
            {

            }
        }
        private void cmdConfig_Click(object sender, EventArgs e)
        {
            try
            {
                frm_Properties frm = new frm_Properties( PropertyLib._DuocNoitruProperties);

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

            }
        }
        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)
            {

            }
        }
Esempio n. 5
0
 private void cmdConfig_Click(object sender, EventArgs e)
 {
     frm_Properties frm = new frm_Properties(_QMSProperties);
     frm.ShowDialog();
     CauHinh();
     InitControls();
 }
 private void lnkSize_Click(object sender, EventArgs e)
 {
     var _Properties = new frm_Properties(PropertyLib._DynamicInputProperties);
     if (_Properties.ShowDialog() == DialogResult.OK)
     {
         ShowResult();
     }
 }
Esempio n. 7
0
 void cmdNoitruConfig_Click(object sender, EventArgs e)
 {
     frm_Properties frm = new frm_Properties(PropertyLib._NoitruProperties);
     frm.ShowDialog();
 }
Esempio n. 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();
     }
 }
Esempio n. 9
0
 void cmdConfig_Click(object sender, EventArgs e)
 {
     frm_Properties frm = new frm_Properties(PropertyLib._KCBProperties);
     frm.ShowDialog();
     CauHinhKCB();
 }
 private void cmdConfig_Click(object sender, EventArgs e)
 {
     frm_Properties _Properties = new frm_Properties(PropertyLib._NoitruProperties);
     _Properties.ShowDialog();
 }
Esempio n. 11
0
 private void cmdCauHinh_Click(object sender, EventArgs e)
 {
     var frm = new frm_Properties(PropertyLib._NoitruProperties);
     frm.ShowDialog();
     cauhinh();
 }
Esempio n. 12
0
 void cmdConfig_Click(object sender, EventArgs e)
 {
     frm_Properties _Properties = new frm_Properties(PropertyLib._DynamicInputProperties);
     _Properties.ShowDialog();
     Config();
 }
 void cmdThamkhamConfig_Click(object sender, EventArgs e)
 {
     frm_Properties frm = new frm_Properties(PropertyLib._ThamKhamProperties);
     frm.ShowDialog();
     CauHinhThamKham();
 }
 void cmdConfig_Click(object sender, EventArgs e)
 {
     frm_Properties _Properties = new frm_Properties(PropertyLib._FTPProperties);
     _Properties.ShowDialog();
     SaveConfig();
     CauHinh();
 }
 void cmdPrintProperties_Click(object sender, EventArgs e)
 {
     frm_Properties frm = new frm_Properties(PropertyLib._MayInProperties);
     frm.ShowDialog();
     CauHinh();
 }
 private void cmdCauhinh_Click(object sender, EventArgs e)
 {
     frm_Properties frm = new frm_Properties(PropertyLib._KCBProperties);
     frm.ShowDialog();
     CauHinh();
 }
 void cmdCauHinh_Click(object sender, EventArgs e)
 {
     frm_Properties _Properties = new frm_Properties(PropertyLib._ThuocProperties);
     if (_Properties.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         Cauhinh();
 }
Esempio n. 18
0
 void cmdQMSProperty_Click(object sender, EventArgs e)
 {
     frm_Properties frm = new frm_Properties(PropertyLib._HISQMSProperties);
     frm.ShowDialog();
     CauHinhQMS();
 }
 void cmdCauhinhgia_Click(object sender, EventArgs e)
 {
     frm_Properties _Properties = new frm_Properties(PropertyLib._QheGiaThuocProperties);
     _Properties.ShowDialog();
 }
Esempio n. 20
0
 void cmdCauHinh_Click(object sender, EventArgs e)
 {
     frm_Properties _Properties = new frm_Properties(PropertyLib._NoitruProperties);
     _Properties.ShowDialog();
     Cauhinh();
 }
Esempio n. 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();
 }
Esempio n. 22
0
        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");
            //}
        }
Esempio n. 23
0
 private void cmdPrintSettings_Click(object sender, EventArgs e)
 {
     frm_Properties _Properties = new frm_Properties(PropertyLib._MayInProperties);
     _Properties.ShowDialog();
 }