コード例 #1
0
        /// <summary>
        /// 加载诊所版标签
        /// </summary>
        private void LoadClinicTags()
        {
            pnlTags.Controls.Clear();

            _orderTag             = new TagControl(Constant.MYMENU_APPOINTMENT, HospitalTypeEnum.Clinic);
            _orderTag.Dock        = DockStyle.Left;
            _orderTag.ClickEvent += tag_ClickEvent;
            pnlTags.Controls.Add(_orderTag);

            _patientTag             = new TagControl(Constant.MYMENU_PATIENT, HospitalTypeEnum.Clinic);
            _patientTag.Dock        = DockStyle.Left;
            _patientTag.ClickEvent += tag_ClickEvent;
            pnlTags.Controls.Add(_patientTag);
        }
コード例 #2
0
        /// <summary>
        /// 加载医院版标签
        /// </summary>
        private void LoadHospitalTags()
        {
            pnlTags.Controls.Clear();

            _qaTag             = new TagControl(Constant.MYMENU_CONSULT, HospitalTypeEnum.Hospital);
            _qaTag.Dock        = DockStyle.Left;
            _qaTag.ClickEvent += tag_ClickEvent;
            pnlTags.Controls.Add(_qaTag);

            _visitTag             = new TagControl(Constant.MYMENU_VISIT, HospitalTypeEnum.Hospital);
            _visitTag.Dock        = DockStyle.Left;
            _visitTag.ClickEvent += tag_ClickEvent;
            pnlTags.Controls.Add(_visitTag);

            _orderTag             = new TagControl(Constant.MYMENU_APPOINTMENT, HospitalTypeEnum.Hospital);
            _orderTag.Dock        = DockStyle.Left;
            _orderTag.ClickEvent += tag_ClickEvent;
            pnlTags.Controls.Add(_orderTag);

            _patientTag             = new TagControl(Constant.MYMENU_PATIENT, HospitalTypeEnum.Hospital);
            _patientTag.Dock        = DockStyle.Left;
            _patientTag.ClickEvent += tag_ClickEvent;
            pnlTags.Controls.Add(_patientTag);
        }
コード例 #3
0
ファイル: TCHeadControl.cs プロジェクト: jxdong1013/archivems
        /// <summary>
        /// 加载医院版标签
        /// </summary>
        private void LoadHospitalTags()
        {
            pnlTags.Controls.Clear();

            _qaTag = new TagControl(Constant.MYMENU_CONSULT , HospitalTypeEnum.Hospital );
            _qaTag.Dock = DockStyle.Left;
            _qaTag.ClickEvent += tag_ClickEvent;
            pnlTags.Controls.Add(_qaTag);

            _visitTag = new TagControl(Constant.MYMENU_VISIT , HospitalTypeEnum.Hospital );
            _visitTag.Dock = DockStyle.Left;
            _visitTag.ClickEvent += tag_ClickEvent;
            pnlTags.Controls.Add(_visitTag);

            _orderTag = new TagControl(Constant.MYMENU_APPOINTMENT ,  HospitalTypeEnum.Hospital );
            _orderTag.Dock = DockStyle.Left;
            _orderTag.ClickEvent += tag_ClickEvent;
            pnlTags.Controls.Add(_orderTag);

            _patientTag = new TagControl(Constant.MYMENU_PATIENT , HospitalTypeEnum.Hospital );
            _patientTag.Dock = DockStyle.Left;
            _patientTag.ClickEvent += tag_ClickEvent;
            pnlTags.Controls.Add(_patientTag);
        }
コード例 #4
0
ファイル: TCHeadControl.cs プロジェクト: jxdong1013/archivems
        /// <summary>
        /// 加载诊所版标签
        /// </summary>
        private void LoadClinicTags()
        {
            pnlTags.Controls.Clear();

            _orderTag = new TagControl(Constant.MYMENU_APPOINTMENT, HospitalTypeEnum.Clinic);
            _orderTag.Dock = DockStyle.Left;
            _orderTag.ClickEvent += tag_ClickEvent;
            pnlTags.Controls.Add(_orderTag);

            _patientTag = new TagControl(Constant.MYMENU_PATIENT, HospitalTypeEnum.Clinic );
            _patientTag.Dock = DockStyle.Left;
            _patientTag.ClickEvent += tag_ClickEvent;
            pnlTags.Controls.Add(_patientTag);
        }