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(); }
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(); }
public CsvWriter(FormData PatientForm) { patientForm = PatientForm; }