/// <summary> /// 显示产妇婴儿信息页面 /// </summary> /// <param name="info"></param> public void ShowUCObstetricsBaby(UCObstetricsBaby 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); }
/// <summary> /// 编辑产妇婴儿信息 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void simpleButton5_Click(object sender, EventArgs e) { SetWaitDialogCaption("正在加载数据"); if (m_UCObstetricsBaby == null) { m_UCObstetricsBaby = new UCObstetricsBaby(); } ShowUCForm.ShowUCObstetricsBaby(m_UCObstetricsBaby, info); ShowUCForm.StartPosition = FormStartPosition.CenterScreen; HideWaitDialog(); if (ShowUCForm.ShowDialog() == DialogResult.OK) { info = ShowUCForm.m_info; } RefreshForm(); }