public claimantViewForm() { InitializeComponent(); _myClaimant = new tblClaimant(); _controller = new claimantController(this, _myClaimant); _controller.Initialize(); }
public claimantViewForm(tblClaimant myClaimant) { InitializeComponent(); _myClaimant = myClaimant; _controller = new claimantController(this, _myClaimant); _controller.Initialize(); this.UpdateForm(); }
//New Claimant public claimantDetailsForm() { InitializeComponent(); myController = new claimantController(this, myClaimant); myController.Initialize(); updateForm(); setToCompanyOrPrivate(); }
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; } }
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(); }