コード例 #1
0
ファイル: FormSetNewTicketRadio.cs プロジェクト: oeai/medx
        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();
        }