public NwUpdateTest(int testId, string testName) { InitializeComponent(); _controller = new NorthwindController(); this.testId = testId; this.testName = testName; }
public NwViewVisit(int _visitID, int _patientID) { _controller = new NorthwindController(); InitializeComponent(); this.visitID = _visitID; this.patientID = _patientID; }
public NwUpdateDiagnoses(int visitID, String diagName, string symptom) { InitializeComponent(); _controller = new NorthwindController(); this.diagName = diagName; this.visitID = visitID; this.symptom = symptom; }
public NWViewEmployee(int theEmployeeId) { InitializeComponent(); _controller = new NorthwindController(); try { this.employeeId = theEmployeeId; employee = _controller.GetEmployeeByID(theEmployeeId); } catch (Exception exception) { MessageBox.Show(@"There was a problem loading this patient, please try again."); this.Close(); } }
public NWViewPatient(int thePatientId) { InitializeComponent(); _controller = new NorthwindController(); try { this._patientId = thePatientId; _thepatient = _controller.GetPatientsById(thePatientId); } catch (Exception exception) { MessageBox.Show(@"There was a problem loading this patient, please try again."); this.Close(); } }
public NwPatientSearch() { InitializeComponent(); _controller = new NorthwindController(); }
public NWViewAllergies() { InitializeComponent(); _controller = new NorthwindController(); }
public nwListDiag() { InitializeComponent(); _controller = new NorthwindController(); }
public NWNewTest() { InitializeComponent(); _controller = new NorthwindController(); }