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

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

            DisableItemEditMode();
        }
Exemplo 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);
     }
 }