Exemplo n.º 1
0
 public claimantViewForm()
 {
     InitializeComponent();
     _myClaimant = new tblClaimant();
     _controller = new claimantController(this, _myClaimant);
     _controller.Initialize();
 }
Exemplo n.º 2
0
 public claimantViewForm(tblClaimant myClaimant)
 {
     InitializeComponent();
     _myClaimant = myClaimant;
     _controller = new claimantController(this, _myClaimant);
     _controller.Initialize();
     this.UpdateForm();
 }
Exemplo n.º 3
0
 //New Claimant
 public claimantDetailsForm()
 {
     InitializeComponent();
     myController = new claimantController(this, myClaimant);
     myController.Initialize();
     updateForm();
     setToCompanyOrPrivate();
 }
Exemplo n.º 4
0
 private void UpdateClaimantDetails()
 {
     var foo = (tblClaimant)this.displayGridView.GetFocusedRow();
     if (foo != null)
     {
         _myClaimant = foo;
         _controller = new claimantController(this, _myClaimant);
         _controller.Initialize();
         this.UpdateForm();
         this.claimantDetailsGroupBox.Text = this._controller.EditCopyClaimant.FirstNames + @" " +
                                               this._controller.EditCopyClaimant.LastName;
     }
 }
Exemplo n.º 5
0
 private void NewPatientBtnClick(object sender, EventArgs e)
 {
     this._myClaimant = new tblClaimant();
     this._controller = new claimantController(this, _myClaimant);
     this._controller.Initialize();
     this.UpdateForm();
     this.claimantDetailsGroupBox.Text = @"Enter a new Claimant";
     this.rateComboBox.Text = @"P";
     this.rateComboBox.Focus();
 }