/// <summary> /// 添加执行病区 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnExecSickAeras_Click(object sender, EventArgs e) { frmSection sec = new frmSection(1); if (txtExecSickAeras.Tag != null && txtExecSickAeras.Tag.ToString() != "") { sec.SetSelected(txtExecSickAeras.Tag.ToString()); } sec.ShowDialog(); txtExecSickAeras.Text = sec.GetNames(); txtExecSickAeras.Tag = sec.GetIds(); }
/// <summary> /// 管辖科室 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnSectionAdd_Click(object sender, EventArgs e) { frmSection us = new frmSection(0); if (txtSection.Tag != null && txtSection.Tag.ToString() != "") { us.SetSelected((string)txtSection.Tag); } us.ShowDialog(); txtSection.Text = us.GetNames(); txtSection.Tag = us.GetIds(); }