/// <summary> /// Default Ctor - intializes the properies of the form /// </summary> public DataChartUI() { // Auto generated code for the form InitializeComponent(); _dataContext = new AccountingDataContext(); _generalCategoryHandler = new GeneralCategoryHandler(_dataContext); _monthService = new MonthService(_dataContext); }
public MultipleCategoriesCompare() { InitializeComponent(); MonthData = new Dictionary <string, Dictionary <DateTime, decimal> >(); _dataContext = new AccountingDataContext(); var generalCategoryHandler = new GeneralCategoryHandler(_dataContext); _monthService = new MonthService(_dataContext); CategoryNames = generalCategoryHandler.GetAllCategoryNames().ToList(); }
/// <summary> /// Default Ctor - intializes the properies of the form /// </summary> public DataChartUI() { // Intializes the local properties of the form CategoryNames = new List <string>(); MonthData = new Dictionary <string, Dictionary <DateTime, decimal> >(); // Auto generated code for the form InitializeComponent(); _dataContext = new AccountingDataContext(); _generalCategoryHandler = new GeneralCategoryHandler(_dataContext); _monthService = new MonthService(_dataContext); }