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) { } }
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(); } }
void cmdNoitruConfig_Click(object sender, EventArgs e) { frm_Properties frm = new frm_Properties(PropertyLib._NoitruProperties); frm.ShowDialog(); }
void lnkSize_Click(object sender, EventArgs e) { frm_Properties _Properties = new frm_Properties(PropertyLib._DynamicInputProperties); if (_Properties.ShowDialog() == System.Windows.Forms.DialogResult.OK) { ShowResult(); } }
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(); }
private void cmdCauHinh_Click(object sender, EventArgs e) { var frm = new frm_Properties(PropertyLib._NoitruProperties); frm.ShowDialog(); cauhinh(); }
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(); }
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(); }
void cmdCauHinh_Click(object sender, EventArgs e) { frm_Properties _Properties = new frm_Properties(PropertyLib._NoitruProperties); _Properties.ShowDialog(); Cauhinh(); }
/// <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(); }
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"); //} }
private void cmdPrintSettings_Click(object sender, EventArgs e) { frm_Properties _Properties = new frm_Properties(PropertyLib._MayInProperties); _Properties.ShowDialog(); }