Esempio n. 1
0
 /// <summary>
 /// default constructor
 /// </summary>
 public InvoiceSystem()
 {
     //new invoice data master
     dataMaster = new InvoiceDataMaster();
     //call update item list method
     updateItemList();
 }
Esempio n. 2
0
        public ItemDefsWindow()
        {
            InitializeComponent();

            dataMaster = new InvoiceDataMaster();
            dgItemDescs.ItemsSource = dataMaster.MakeItemDescList();

            DisableItemEditMode();
        }
Esempio n. 3
0
 /// <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);
     }
 }