コード例 #1
0
ファイル: UCMainForm.cs プロジェクト: xuanximoming/key
 /// <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);
     }
 }
コード例 #2
0
ファイル: UCMainForm.cs プロジェクト: xuanximoming/key
        /// <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);
            }
        }
コード例 #3
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);
     }
 }
コード例 #4
0
ファイル: ShowUC.cs プロジェクト: xuanximoming/key
        /// <summary>
        /// 显示其他信息页面
        /// </summary>
        /// <param name="info"></param>
        public void ShowUCOthers(UCOthers info, IemMainPageInfo m_pageInfo)
        {
            this.Text = "其他信息编辑";
            this.Controls.Clear();
            this.Controls.Add(info);

            info.FillUI(m_pageInfo, m_app);
        }
コード例 #5
0
 /// <summary>
 /// 显示其他信息页面
 /// </summary>
 /// <param name="info"></param>
 public void ShowUCOthers(UCOthers info, IemMainPageInfo m_pageInfo)
 {
     //this.ResumeLayout();
     //this.Height = info.Height + 10;
     //this.Width = info.Width + 10;
     this.Text = "其他信息编辑";
     this.Controls.Clear();
     this.Controls.Add(info);
     //info.Dock = DockStyle.Fill;
     info.FillUI(m_pageInfo, m_app);
 }
コード例 #6
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();
 }