private void cmdConfig_Click(object sender, EventArgs e) { frm_Properties frm = new frm_Properties(_QMSProperties); frm.ShowDialog(); CauHinh(); }
private void cmdConfig_Click(object sender, EventArgs e) { frm_Properties _Properties = new frm_Properties(PropertyLib._NoitruProperties); _Properties.ShowDialog(); LoadConfig(); }
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(); }
private void cmdConfig_Click(object sender, EventArgs e) { frm_Properties frm = new frm_Properties(PropertyLib._HISQMSProperties); frm.TopMost = true; frm.ShowDialog(); CauHinh(); }
private void cmdConfig_Click(object sender, EventArgs e) { if (PropertyLib._xmlproperties != null) { var frm = new frm_Properties(PropertyLib._xmlproperties); frm.ShowDialog(); //CauHinhKCB(); } }
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 cmdConfig_Click(object sender, EventArgs e) { try { frm_Properties frm = new frm_Properties(PropertyLib._TrathuocthuaProperties); frm.ShowDialog(); CauHinh(); } catch (Exception exception) { } }
private void cmdConfig_Click(object sender, EventArgs e) { try { frm_Properties _Properties = new frm_Properties(PropertyLib._DuocNoitruProperties); _Properties.ShowDialog(); CauHinh(); } catch (Exception exception) { } }
/// <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); } }
/// <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); } }
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 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"); //} }
private void cmdCauhinh_Click(object sender, EventArgs e) { frm_Properties frm = new frm_Properties(PropertyLib._KCBProperties); frm.ShowDialog(); }
private void cmdPrintSettings_Click(object sender, EventArgs e) { frm_Properties _Properties = new frm_Properties(PropertyLib._MayInProperties); _Properties.ShowDialog(); }