Esempio n. 1
0
 // -------------------------------------------------------------------
 // Constructor (existing budget ... must specify file)
 // -------------------------------------------------------------------
 public HomeBudget(String budgetFileName)
 {
     categories = new CategoriesManager();
     expenses   = new Expenses();
     ReadFromFile(budgetFileName);
 }
Esempio n. 2
0
 // -------------------------------------------------------------------
 // Constructor (new... default categories, no expenses)
 // -------------------------------------------------------------------
 public HomeBudget()
 {
     categories = new CategoriesManager();
     expenses   = new Expenses();
 }