Esempio n. 1
0
        protected override void m_mthModifyRecord(int p_intRecordType,
                                                  DateTime p_dtmCreateRecordTime)
        {
            PrivilegeData.enmPrivilegeSF enmSF = (PrivilegeData.enmPrivilegeSF)Enum.Parse(typeof(PrivilegeData.enmPrivilegeSF), this.GetType().Name);
#if FunctionPrivilege
            if (!clsPublicFunction.s_blnCheckCurrentPrivilege(enmSF, PrivilegeData.enmPrivilegeOperation.AddOrModify))
            {
                clsPublicFunction.s_mthShowNotPermitMessage();
                return;
            }
#endif
            //获取添加记录的窗体
            frmDiseaseTrackBase frmAddNewForm = m_frmGetRecordForm(p_intRecordType);
            frmAddNewForm.m_mthSetDiseaseTrackInfo(m_objCurrentPatient, p_dtmCreateRecordTime);

            m_mthShowSubForm(frmAddNewForm, p_intRecordType, true);
        }
Esempio n. 2
0
 /// <summary>
 /// 处理子窗体
 /// </summary>
 /// <param name="p_frmSubForm"></param>
 protected override void m_mthHandleSubFormClosedWithYes(frmDiseaseTrackBase p_frmSubForm)
 {
     m_mthPerformSessionChanged(m_ObjCurrentEmrPatientSession, 0);
 }