Ejemplo n.º 1
0
 public NwUpdateTest(int testId, string testName)
 {
     InitializeComponent();
     _controller = new NorthwindController();
     this.testId = testId;
     this.testName = testName;
 }
Ejemplo n.º 2
0
 public NwViewVisit(int _visitID, int _patientID)
 {
     _controller = new NorthwindController();
     InitializeComponent();
     this.visitID = _visitID;
     this.patientID = _patientID;
 }
Ejemplo n.º 3
0
 public NwUpdateDiagnoses(int visitID, String diagName, string symptom)
 {
     InitializeComponent();
     _controller = new NorthwindController();
     this.diagName = diagName;
     this.visitID = visitID;
     this.symptom = symptom;
 }
Ejemplo n.º 4
0
 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();
     }
 }
Ejemplo n.º 5
0
        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();
            }
        }
Ejemplo n.º 6
0
 public NwPatientSearch()
 {
     InitializeComponent();
     _controller = new NorthwindController();
 }
Ejemplo n.º 7
0
 public NWViewAllergies()
 {
     InitializeComponent();
     _controller = new NorthwindController();
 }
Ejemplo n.º 8
0
 public nwListDiag()
 {
     InitializeComponent();
     _controller = new NorthwindController();
 }
Ejemplo n.º 9
0
 public NWNewTest()
 {
     InitializeComponent();
     _controller = new NorthwindController();
 }