Example #1
0
 public ConsumRoundChart()
 {
     InitializeComponent();
     context = new BudgetContext();
     context.ConsList.Load();
     context.ConsCategoryList.Load();
 }
Example #2
0
 public IncomeRoundChart()
 {
     InitializeComponent();
     context = new BudgetContext();
     context.IncList.Load();
     context.IncCategoryList.Load();
 }
Example #3
0
 public IncCategoryForm()
 {
     InitializeComponent();
     context = new BudgetContext();
     context.IncCategoryList.Load();
     dataGridView.DataSource = context.IncCategoryList.Local.ToBindingList();
 }
Example #4
0
 public ConsumForm()
 {
     InitializeComponent();
     context = new BudgetContext();
     context.ConsList.Load();
     context.ConsCategoryList.Load();
     //
     dataGridView.DataSource = context.ConsList.Local.ToBindingList();
 }