コード例 #1
0
ファイル: AddNurseForm.cs プロジェクト: mstudar1/clinic
 /// <summary>
 /// Constructor for the add nurse form
 /// </summary>
 /// <param name="theInputNurseUserControl">the refering usercontrol</param>
 public AddNurseForm(NurseUserControl theInputNurseUserControl)
 {
     InitializeComponent();
     this.theNurseController      = new NurseController();
     this.theCredentialController = new CredentialController();
     this.nurseUserControl        = theInputNurseUserControl;
 }
コード例 #2
0
ファイル: NurseAdminForm.cs プロジェクト: mstudar1/clinic
 /// <summary>
 /// The constructor initializes the components
 /// </summary>
 /// <param name="theInputLoginForm"></param>
 public NurseAdminForm(LoginForm theInputLoginForm)
 {
     InitializeComponent();
     this.theLoginForm       = theInputLoginForm;
     theCredentialController = new CredentialController();
     this.username           = "";
     this.patientUserControl1.SetNurseAdminForm(this);
 }
コード例 #3
0
 /// <summary>
 /// Constructor for view nurse form
 /// </summary>
 /// <param name="theInputNurseUserControl">referring Nurse user control</param>
 /// <param name="theInputedNurse">the Nurse object whose infor will be displayed</param>
 public ViewNurseForm(NurseUserControl theInputNurseUserControl, Nurse theInputedNurse)
 {
     InitializeComponent();
     this.theCredentialController = new CredentialController();
     this.theNurseUserControl     = theInputNurseUserControl;
     this.theNurse = theInputedNurse;
     this.theNurseUserControl.Enabled = false;
     this.ShowPatientInformation();
 }
コード例 #4
0
 /// <summary>
 /// Constructor for edit nurse form
 /// </summary>
 /// <param name="theInputNurseUserControl"></param>
 /// <param name="theInputNurse"></param>
 public EditNurseForm(NurseUserControl theInputNurseUserControl, Nurse theInputNurse)
 {
     InitializeComponent();
     this.theNurseUserControl     = theInputNurseUserControl;
     this.theNurse                = theInputNurse;
     this.theNurseController      = new NurseController();
     this.theCredentialController = new CredentialController();
     this.ShowNurseInformation();
 }
コード例 #5
0
ファイル: LoginForm.cs プロジェクト: mstudar1/clinic
 /// <summary>
 /// The constructor initializes the components
 /// </summary>
 public LoginForm()
 {
     InitializeComponent();
     this.theNurseAdminForm       = null;
     this.theCredentialController = new CredentialController();
 }