/// <summary> /// 编辑诊断信息 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void simpleButton3_Click(object sender, EventArgs e) { SetWaitDialogCaption("正在加载数据"); string emrSetting = BasicSettings.GetStringConfig("isCnMaiPage");//取得配置表中的配置信息 if (emrSetting == "1") { if (m_UCIemDiagnose == null) { m_UCIemDiagnose = new UCIemDiagnose(m_Host); } ShowUCForm.ShowUCIemDiagnose(m_UCIemDiagnose, info); } else { if (m_UCIemDiagnoseEn == null) { m_UCIemDiagnoseEn = new UCIemDiagnoseEn(m_Host); } ShowUCForm.ShowUCIemDiagnoseEn(m_UCIemDiagnoseEn, info); } ShowUCForm.StartPosition = FormStartPosition.CenterScreen; HideWaitDialog(); if (ShowUCForm.ShowDialog() == DialogResult.OK) { info = ShowUCForm.m_info; } RefreshForm(); }