/// <summary> /// Constructor used to initialize the thePatientUserControl and /// </summary> /// <param name="theInputPatientUserControl"></param> public RegisterPatientForm(PatientUserControl theInputPatientUserControl) { InitializeComponent(); this.thePatientUserControl = theInputPatientUserControl; this.thePatientController = new PatientController(); this.thePatientUserControl.Enabled = false; }
/// <summary> /// Constructor for view patient form /// </summary> public ViewPatientForm(PatientUserControl theInputPatientUserControl, Patient theInputedPatient) { InitializeComponent(); this.thePatientUserControl = theInputPatientUserControl; this.thePatient = theInputedPatient; this.ShowPatientInformation(); }