/// <summary> /// default constructor /// </summary> public InvoiceSystem() { //new invoice data master dataMaster = new InvoiceDataMaster(); //call update item list method updateItemList(); }
public ItemDefsWindow() { InitializeComponent(); dataMaster = new InvoiceDataMaster(); dgItemDescs.ItemsSource = dataMaster.MakeItemDescList(); DisableItemEditMode(); }
/// <summary> /// Constructor for InvoiceSearch /// </summary> public InvoiceSearch() { try { dataMaker = new InvoiceDataMaster(); ClearFilters(); //call clearfilters to get initial invoice list } catch (Exception ex) { //Throw a custom-trace exception throw new Exception(MethodInfo.GetCurrentMethod().DeclaringType.Name + "." + MethodInfo.GetCurrentMethod().Name + " -> " + ex.Message); } }