示例#1
0
 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;
 }
示例#3
0
        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();
        }
示例#4
0
 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;
     }
 }