示例#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();
        }
示例#2
0
文件: XMLHandler.cs 项目: hr4e/csharp
        public XMLHandler(Form1 MainForm, FormData PatientForm)
        {
            pathType = "linux";//by default set path to windows, change to "osx" for mac, "linux" for linux based systems
            patientForm = PatientForm;
            mainForm = MainForm;

            Initializer();
        }
示例#3
0
文件: CsvWriter.cs 项目: hr4e/csharp
 public CsvWriter(FormData PatientForm)
 {
     patientForm = PatientForm;
 }
示例#4
0
 public CsvWriter(FormData PatientForm)
 {
     patientForm = PatientForm;
 }