public newAddItemForm(tblPhysio MyPhysio, tblRate MyRate, tblClaimant MyClaimant) { InitializeComponent(); myRate = MyRate; myPhysio = MyPhysio; myClaimant = MyClaimant; }
public agedTrailBalanceViewForm(tblClaimant MyClaimant, tblPhysio MyPhysio, DateTime StartDate, DateTime EndDate) { InitializeComponent(); myClaimant = MyClaimant; myPhysio = MyPhysio; startDate = StartDate; endDate = EndDate; }
public newInvoiceForm(tblClaimant MyClaimant, tblPhysio MyPhysio) { InitializeComponent(); this.myLines.ListChanged += new ListChangedEventHandler(updateSummaries); this.myReceipts.ListChanged += new ListChangedEventHandler(updateSummaries); this.myReceiptAmounts.ListChanged += new ListChangedEventHandler(updateSummaries); myPhysio = MyPhysio; myClaimant = MyClaimant; newInvoice(); }
public override void okBtn_Click(object sender, EventArgs e) { base.okBtn_Click(sender, e); var currentRow = (tblPhysio)physioLookUpView.GetFocusedRow(); if (currentRow != null) { myPhysio = currentRow; } else { MessageBox.Show("Please select a physio."); this.DialogResult = DialogResult.Retry; } }