Ejemplo n.º 1
0
        public frmDeptDetailInfo()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            m_cboCategory.ClearItem();
            m_cboInPatientOrOutPatient.ClearItem();
            m_cboCategory.AddRangeItems(new string[] { "临床", "辅助" });
            m_cboInPatientOrOutPatient.AddRangeItems(new string[] { "门诊", "住院", "检验" });
            m_cboCategory.SelectedIndex = 0;
            m_cboInPatientOrOutPatient.SelectedIndex = 0;

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            m_objDept_Desc = null;
        }
Ejemplo n.º 2
0
        private void m_cboCommonUseType_Load(object sender, System.EventArgs e)
        {
            clsPublicIDAndName[] objclsPublicIDAndNameArr;
            m_objDomain.m_lngGetAllCommonUseType(out objclsPublicIDAndNameArr);
            if (objclsPublicIDAndNameArr != null)
            {
                m_cboCommonUseType.AddRangeItems(objclsPublicIDAndNameArr);
            }

            m_objHighLight.m_mthAddControlInContainer(this);
            m_cboCommonUseType.Focus();
        }
Ejemplo n.º 3
0
        private void m_mthLoadAllRecord(clsPatient p_objSelectedPatient)
        {
            if (p_objSelectedPatient == null)
            {
                return;
            }

            m_mthResetRecordList();
            m_mthClearRecordInfo();

            clsOutPatientRevisitRecord_VO[] objContentArr = null;
            m_objDomain.m_lngGetRecordContentByInPatient(p_objSelectedPatient.m_StrInPatientID, p_objSelectedPatient.m_DtmSelectedInDate, out objContentArr);
            if (objContentArr != null && objContentArr.Length > 0)
            {
                m_cboRecordList.AddRangeItems(objContentArr);
            }
        }
Ejemplo n.º 4
0
        private void m_mthLoadConditionOption()
        {
            if (m_strStatisticID == null || m_strStatisticID.Trim().Length == 0)
            {
                return;
            }
            m_cboConditionItem.ClearItem();
            long lngRes = m_objDomain.m_lngGetStatisticCondictionOptionValue(m_strStatisticID, out m_objCondictionOptionArr);

            if (lngRes <= 0 || m_objCondictionOptionArr == null)
            {
                return;
            }
            string [] strTempArr = new string [m_objCondictionOptionArr.Length];
            for (int i = 0; i < m_objCondictionOptionArr.Length; i++)
            {
                strTempArr[i] = m_objCondictionOptionArr[i].m_strOptionDesc;
            }
            m_cboConditionItem.AddRangeItems(strTempArr);
        }
Ejemplo n.º 5
0
        public frmDeactiveRecord()
        {
            // This call is required by the Windows Form Designer.
            InitializeComponent();

            m_objDeactiveDomain = new clsDeactiveRecordDomain();

            //m_objBorderTool = new clsBorderTool(Color.White);
            //m_objBorderTool.m_mthChangedControlsArrayBorder(new Control[]{this.m_lsvDeactiveInfo});

            clsDeactiveFormInfo [] objFormArr;

            long lngRes = m_objDeactiveDomain.m_lngGetDeactiveFormInfo(out objFormArr);

            if (lngRes > 0 && objFormArr != null)
            {
                m_cboFormType.AddRangeItems(objFormArr);

                if (objFormArr.Length > 0)
                {
                    m_cboFormType.SelectedIndex = 0;
                }
            }
        }