public FormApproveForMultiply(string noOfFirstPage, IEmrHost host, string consultApplySn) : this() { m_NoOfFirstPage = noOfFirstPage; m_Host = host; m_ConsultApplySn = consultApplySn; InitInner(false); ApplyForMultiply.ReadOnlyControl(); memoEditSuggestion.Focus(); }
public void ReadOnlyControl() { simpleButtonOK.Enabled = false; simpleButtonReject.Enabled = false; memoEditSuggestion.Properties.ReadOnly = true; ApplyForMultiply.ReadOnlyControl(); DataSet ds = Dal.DataAccess.GetConsultationDataSet(m_ConsultApplySn, "20");//, Convert.ToString((int)ConsultType.More)); DataTable dtConsultApply = ds.Tables[0]; memoEditSuggestion.Text = dtConsultApply.Rows[0]["RejectReason"].ToString().Trim(); string stateID = dtConsultApply.Rows[0]["stateid"].ToString().Trim(); if (stateID == Convert.ToString((int)ConsultStatus.WaitApprove)) //未审核隐藏审核信息 { HideApproveArea(); } }
/// <summary> /// 只读 /// </summary> public void ReadOnlyControl() { ApplyForMultiply.ReadOnlyControl(); }
/// <summary> /// 会诊申请信息不可以修改 /// </summary> public void ApplyInfoReadOnly() { ApplyForMultiply.ReadOnlyControl(); }