public void Save( TCHISEntity .Config config ) { WriteUrl("LeftMenu", "HIS", txtHis.Text.Trim()); config.HISUrl = txtHis.Text.Trim(); WriteUrl("LeftMenu", "EMR", txtEmr.Text.Trim()); config.EMRUrl = txtEmr.Text.Trim(); WriteUrl("LeftMenu", "CRM", txtCrm.Text.Trim()); config.CRMUrl = txtCrm.Text.Trim(); WriteUrl("LeftMenu", "SCM", txtScm.Text.Trim()); config.SCMUrl = txtScm.Text.Trim(); WriteUrl("LeftMenu", "eYar门户", txteyarweb.Text.Trim()); config.EYARWebUrl = txteyarweb.Text.Trim (); WriteUrl("LeftMenu", "eYar商城", txteyarmall.Text.Trim()); config.EYarMallUrl = txteyarmall.Text.Trim(); WriteUrl("Login", "TicketUrl", txtTicketUrl.Text.Trim()); config.TicketUrl = txtTicketUrl.Text.Trim(); WriteUrl("MyMenu", "我的预约", txtMyOrderUrl.Text.Trim()); config.MyOrderUrl = txtMyOrderUrl.Text.Trim(); WriteUrl("MyMenu", "我的病人", txtMyPatientUrl.Text.Trim()); config.MyPatientsUrl = txtMyPatientUrl.Text.Trim(); WriteUrl("MyMenu", "病历分享", txtMedicalShareUrl.Text.Trim()); config.MedicalRecordUrl = txtMedicalShareUrl.Text.Trim(); WriteUrl("MyMenu", "待我答疑", txtProblemUrl.Text.Trim()); config.AnswerQuestionsUrl = txtProblemUrl.Text.Trim(); WriteUrl("News", "Url", txtNewsUrl.Text.Trim()); config.NewsUrl = txtNewsUrl.Text.Trim(); }
public void Save( TCHISEntity.Config config ) { WriteUrl("ShowJSError", chkShowJSError.Checked.ToString()); WriteUrl("OpenInShell", chkOpenInShell.Checked.ToString() ); config.ShowJSError = chkShowJSError.Checked; config.OpenInShell = chkOpenInShell.Checked; }
public void Save( TCHISEntity .Config config) { string section = "CallNumberService"; string path = Application.StartupPath + "\\Config.ini"; TCUtility.IniUtil.WriteIniValue(path, section, "Url", textBoxCallServiceUrl.Text.Trim()); TCUtility.IniUtil.WriteIniValue(path, section, "Port", textBoxCallServiceUrlPort.Text.Trim()); config.CallNumberPort = textBoxCallServiceUrlPort.Text.Trim(); config.CallNumberUrl = textBoxCallServiceUrl.Text.Trim(); section = "DisplayScreen"; TCUtility.IniUtil.WriteIniValue(path, section, "Ip", txtDisplayIP.Text.Trim()); TCUtility.IniUtil.WriteIniValue(path, section, "Port", txtDisplayPort.Text.Trim()); TCUtility.IniUtil.WriteIniValue(path, section, "Period", txtDisplayPeriod.Text.Trim()); }
public void Save(TCHISEntity.Config config) { _general.Save(config); _shell.Save(config); _callnumber.Save(config); }