Esempio n. 1
0
 /// <summary>
 /// 编辑费用信息
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnFeeInfo_Click(object sender, EventArgs e)
 {
     try
     {
         DrectSoft.Common.DS_Common.SetWaitDialogCaption(waitDialogForm, "正在加载数据");
         if (m_UCOthers == null)
         {
             m_UCOthers = new UCOthers();
         }
         //add by cyq 2012-12-05 病案室人员编辑首页(状态改为归档)
         m_UCOthers.editFlag = editFlag;
         ShowUCForm.ShowUCOthers(m_UCOthers, info);
         ShowUCForm.StartPosition = FormStartPosition.CenterScreen;
         DrectSoft.Common.DS_Common.HideWaitDialog(waitDialogForm);
         if (ShowUCForm.ShowDialog() == DialogResult.OK)
         {
             info = ShowUCForm.m_info;
         }
         RefreshForm();
     }
     catch (Exception ex)
     {
         DrectSoft.Common.DS_Common.HideWaitDialog(waitDialogForm);
         MyMessageBox.Show(1, ex);
     }
 }
Esempio n. 2
0
        /// <summary>
        /// 编辑费用信息
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void simpleButton6_Click(object sender, EventArgs e)
        {
            try
            {
                //add by cyq 2013-03-04
                if (CheckOutHosCardCheckPassed((int)CurrentInpatient.NoOfFirstPage))
                {
                    DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show("该病人的出院卡片已在HIS系统中审核通过,不可以修改。");
                    return;
                }

                SetWaitDialogCaption("正在加载数据");
                if (m_UCOthers == null)
                {
                    m_UCOthers = new UCOthers();
                }
                //add by cyq 2012-12-05 病案室人员编辑首页(状态改为归档)
                m_UCOthers.editFlag = IsShowBackRecord;
                ShowUCForm.ShowUCOthers(m_UCOthers, info);
                ShowUCForm.StartPosition = FormStartPosition.CenterScreen;
                HideWaitDialog();
                if (ShowUCForm.ShowDialog() == DialogResult.OK)
                {
                    info = ShowUCForm.m_info;
                }
                RefreshForm();
            }
            catch (Exception ex)
            {
                DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show(ex.Message);
            }
        }
Esempio n. 3
0
        /// <summary>
        /// 病案扩展维护编辑事件
        /// Add by xlb 2013-04-16
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnExcInfo_Click(object sender, EventArgs e)
        {
            try
            {
                DrectSoft.Common.DS_Common.SetWaitDialogCaption(waitDialogForm, "正在加载数据");
                if (m_UCExtension == null)
                {
                    m_UCExtension = new FormExtension(CurrentInpatient.NoOfFirstPage.ToString());
                }
                ShowUCForm.ShowUCExtension(CurrentInpatient.NoOfFirstPage.ToString(), m_UCExtension, info);
                ShowUCForm.StartPosition = FormStartPosition.CenterScreen;
                DrectSoft.Common.DS_Common.HideWaitDialog(waitDialogForm);
                if (ShowUCForm.ShowDialog() == DialogResult.OK)
                {
                    info = ShowUCForm.m_info;
                }

                RefreshForm();
            }
            catch (Exception ex)
            {
                DrectSoft.Common.DS_Common.HideWaitDialog(waitDialogForm);
                MyMessageBox.Show(1, ex);
            }
        }
Esempio n. 4
0
 /// <summary>
 /// 编辑费用信息
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void simpleButton6_Click(object sender, EventArgs e)
 {
     try
     {
         SetWaitDialogCaption("正在加载数据");
         if (m_UCOthers == null)
         {
             m_UCOthers = new UCOthers();
         }
         //add by cyq 2012-12-05 病案室人员编辑首页(状态改为归档)
         m_UCOthers.editFlag = IsShowBackRecord;
         ShowUCForm.ShowUCOthers(m_UCOthers, info);
         ShowUCForm.StartPosition = FormStartPosition.CenterScreen;
         HideWaitDialog();
         if (ShowUCForm.ShowDialog() == DialogResult.OK)
         {
             info = ShowUCForm.m_info;
         }
         RefreshForm();
     }
     catch (Exception ex)
     {
         //throw new Exception(ex.Message);
         MyMessageBox.Show(1, ex);
     }
 }
Esempio n. 5
0
        /// <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();
        }
Esempio n. 6
0
        /// <summary>
        /// 编辑基本信息
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void simpleButton2_Click(object sender, EventArgs e)
        {
            SetWaitDialogCaption("正在加载数据");

            string emrSetting = BasicSettings.GetStringConfig("isCnMaiPage");//取得配置表中的配置信息

            if (emrSetting == "1")
            {
                if (m_UCIemBasInfo == null)
                {
                    m_UCIemBasInfo = new UCIemBasInfo(this);
                }
                ShowUCForm.ShowUCIemBasInfo(m_UCIemBasInfo, info);
            }
            else
            {
                if (m_UCIemBasInfoEn == null)
                {
                    m_UCIemBasInfoEn = new UCIemBasInfoEn(this);
                }
                ShowUCForm.ShowUCIemBasInfoEn(m_UCIemBasInfoEn, info);
            }

            HideWaitDialog();
            if (ShowUCForm.ShowDialog() == DialogResult.OK)
            {
                info = ShowUCForm.m_info;
            }

            RefreshForm();
        }
Esempio n. 7
0
 /// <summary>
 /// 编辑费用信息
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void simpleButton6_Click(object sender, EventArgs e)
 {
     SetWaitDialogCaption("正在加载数据");
     if (m_UCOthers == null)
     {
         m_UCOthers = new UCOthers();
     }
     ShowUCForm.ShowUCOthers(m_UCOthers, info);
     ShowUCForm.StartPosition = FormStartPosition.CenterScreen;
     HideWaitDialog();
     if (ShowUCForm.ShowDialog() == DialogResult.OK)
     {
         info = ShowUCForm.m_info;
     }
     RefreshForm();
 }
Esempio n. 8
0
        /// <summary>
        /// 编辑基本信息
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void simpleButton2_Click(object sender, EventArgs e)
        {
            SetWaitDialogCaption("正在加载数据");
            if (m_UCIemBasInfo == null)
            {
                m_UCIemBasInfo = new UCIemBasInfo(this);
            }

            ShowUCForm.ShowUCIemBasInfo(m_UCIemBasInfo, info);
            HideWaitDialog();
            ShowUCForm.StartPosition = FormStartPosition.CenterScreen;
            if (ShowUCForm.ShowDialog() == DialogResult.OK)
            {
                info = ShowUCForm.m_info;
            }
            //ShowUCForm.StartPosition = FormStartPosition.CenterScreen;
            RefreshForm();
        }