Exemplo n.º 1
0
 /// <summary>
 /// 编辑手术信息
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnOperInfo_Click(object sender, EventArgs e)
 {
     try
     {
         DrectSoft.Common.DS_Common.SetWaitDialogCaption(waitDialogForm, "正在加载数据");
         if (m_UCIemOperInfo == null)
         {
             m_UCIemOperInfo = new UCIemOperInfo();
         }
         //add by cyq 2012-12-05 病案室人员编辑首页(状态改为归档)
         //m_UCIemOperInfo.editFlag = editFlag;
         ShowUCForm.ShowUCIemOperInfo(m_UCIemOperInfo, 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);
     }
 }
Exemplo n.º 2
0
        /// <summary>
        /// 显示手术信息页面
        /// </summary>
        /// <param name="info"></param>
        public void ShowUCIemOperInfo(UCIemOperInfo 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);
        }