コード例 #1
0
ファイル: Form1.cs プロジェクト: hr4e/csharp
        public Form1()
        {
            //this.FormBorderStyle = FormBorderStyle.None; //uncomment to make completely full screen, so close button
            //this.WindowState = FormWindowState.Maximized; //uncomment to make full screen
            InitializeComponent();
            intakeStatus.newPatient = true;
            patientForm = new FormData();
            clinicData = new ClinicData();

            xmlHandler = new XMLHandler(this, patientForm);
            xmlReader = new XMLReader(this, patientForm, clinicData);
            xmlReader.LoadClinicSettings();

            intakeStatus = new IntakeTabStatus();
            triageStatus = new TriageTabStatus();
            clinicTabStatus = new ClinicTabStatus();
            pharmacyTabStatus = new PharmacyTabStatus();

            //set scribe list
            string[] providers = clinicData.GetProviders();
            for (int i = 0; i < providers.Length; i++)
            {
                comboBoxScribeList.Items.Add(providers[i]);
            }
            comboBoxScribeList.Text = "NI";

            InitializeIntakeData();
            InitializeTriageData();
            InitializeClinicTabData();
            InitializeAdminTab();
        }