Ejemplo n.º 1
0
 public LoginForm()
 {
     InitializeComponent();
     this.healthController = new HealthcareController();
     nd = new NurseDashboard(this);
     ad = new AdminDashboard(this);
 }
Ejemplo n.º 2
0
 public NurseDashboard(LoginForm lf)
 {
     InitializeComponent();
     this.healthController = new HealthcareController();
     this.lf = lf;
     this.SelectedPatientID = 0;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initalizes controller and patientID to 0
 /// </summary>
 public VisitUserControl()
 {
     InitializeComponent();
     this.controller            = new HealthcareController();
     this.patientID             = 0;
     updateResultButton.Enabled = false;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initalizes appointment user control
 /// </summary>
 public AddAppointmentUserControl()
 {
     InitializeComponent();
     time = DateTime.Today;
     healthcareController = new HealthcareController();
     this.LoadDoctorComboBox();
     this.LoadTimesComboBox();
     this.patientID = 0;
 }
        public MainContainer(UserInfo user)
        {
            userLoggedIn = user;

            InitializeComponent();
            inController = new HealthcareController();
            String role = userRole(userLoggedIn);

            lblUserID.Text = lblUserID.Text + userLoggedIn.userID + "\nRole: " + role;
        }
Ejemplo n.º 6
0
 /// <summary>
 /// Initialize component
 /// </summary>
 public ViewNurseUserControl()
 {
     this.healthController = new HealthcareController();
     InitializeComponent();
     this.nurseID = 0;
     this.SetListView();
     this.nurseListView.AutoResizeColumns(ColumnHeaderAutoResizeStyle.ColumnContent);
     this.nurseListView.AutoResizeColumn(0, ColumnHeaderAutoResizeStyle.HeaderSize);
     this.nurseListView.AutoResizeColumn(1, ColumnHeaderAutoResizeStyle.HeaderSize);
     this.nurseListView.AutoResizeColumn(2, ColumnHeaderAutoResizeStyle.HeaderSize);
     this.nurseListView.AutoResizeColumn(3, ColumnHeaderAutoResizeStyle.HeaderSize);
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Initialize the component
 /// </summary>
 public LogTestResultsUserControl()
 {
     InitializeComponent();
     this.controller = new HealthcareController();
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Initialize the component
 /// </summary>
 public NewLoginUserControl()
 {
     InitializeComponent();
     hashing = new HashingService();
     healthcareController = new HealthcareController();
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Initialize the component
 /// </summary>
 public RegisterPatientUserControl()
 {
     InitializeComponent();
     this.healthController = new HealthcareController();
     this.patientID        = 0;
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Initialize user control
 /// </summary>
 public AddTestUserControl()
 {
     InitializeComponent();
     this.controller = new HealthcareController();
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Initialize the component
 /// </summary>
 public PaitentSearchSimple()
 {
     InitializeComponent();
     this.controller = new HealthcareController();
 }