Beispiel #1
0
 /// <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;
 }
Beispiel #2
0
 /// <summary>
 /// Constructor for view patient form
 /// </summary>
 public ViewPatientForm(PatientUserControl theInputPatientUserControl, Patient theInputedPatient)
 {
     InitializeComponent();
     this.thePatientUserControl = theInputPatientUserControl;
     this.thePatient            = theInputedPatient;
     this.ShowPatientInformation();
 }