/// <summary> /// all view logic for when an invoice is selected. /// </summary> /// <param name="invoice"></param> private void setCurrentInvoice(clsMainLogic.Invoice invoice) { try{ currentInvoice = invoice; currentInvoice.LoadItems(controller.getInvoiceDetails(invoice.InvoiceNum)); updateInvoiceDisplay(); } catch (Exception ex) { HandleError(MethodInfo.GetCurrentMethod().DeclaringType.Name, MethodInfo.GetCurrentMethod().Name, ex.Message); } }