Esempio n. 1
0
 public Budget()
 {
     InitializeComponent();
     Presenter       = new MainWindowPresenter();
     DisplayedDate   = DateTime.Now;
     TotalIncome     = 0;
     labelMonth.Text = string.Format("{0}, {1}", DisplayedDate.ToString("MMMM"), DisplayedDate.ToString("yyyy"));
     GenerateBillsIfNewMonth();
     ShowBills();
     ShowIncome();
     ShowAccounts();
 }