Пример #1
0
 public FormApproveForMultiply(string noOfFirstPage, IEmrHost host, string consultApplySn)
     : this()
 {
     m_NoOfFirstPage  = noOfFirstPage;
     m_Host           = host;
     m_ConsultApplySn = consultApplySn;
     InitInner(false);
     ApplyForMultiply.ReadOnlyControl();
     memoEditSuggestion.Focus();
 }
Пример #2
0
        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();
            }
        }
Пример #3
0
 /// <summary>
 /// 只读
 /// </summary>
 public void ReadOnlyControl()
 {
     ApplyForMultiply.ReadOnlyControl();
 }
Пример #4
0
 /// <summary>
 /// 会诊申请信息不可以修改
 /// </summary>
 public void ApplyInfoReadOnly()
 {
     ApplyForMultiply.ReadOnlyControl();
 }