Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #3
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);
        }
Beispiel #4
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);
        }