示例#1
0
        private void fillTypeList()
        {
            rl = new Editor.ClassRadiologyItem.ResearchList();
            rl.GetResearchList();
            this.comboBox1.Items.Clear();

            foreach (Editor.ClassRadiologyItem.MagneticResearches i in rl)
            {
                this.comboBox1.Items.Add(i.ResearchName);
            }

            if (this.comboBox1.Items.Count > 0)
            {
                this.comboBox1.SelectedIndex = 0;
            }
        }
示例#2
0
文件: FormKt.cs 项目: oeai/medx
        public FormKt(int patID, long _ticket)
        {
            InitializeComponent();
            searchPatientBox1.gotPatientId += new SearchPatientBox.getPatientIdHandler(this.gotPatientIdInForm);

            rl = new Editor.ClassRadiologyItem.ResearchList();
            rl.GetResearchList();
            fillZoneList();

            if (patID != -1)
            {
                this.searchPatientBox1.searchById(patID);
                patSel = true;
            }
            _gotTicket = _ticket;
            if (_gotTicket != 0)
            {
                fillTemplateList(_ticket);
            }

            loadVars();
        }