public StatisticsWindow()
        {
            InitializeComponent();
            _dbAccess = DBAccess.GetInstance();

            MonthComboBox.SelectedIndex = DateTime.Today.Month - 1;
            Week.PrepareWeekComboBox(StatWindWeekComboBox, Period.Month, (byte)DateTime.Today.Month);
            DayComboBox.SelectedIndex = (int)DateTime.Today.DayOfWeek - 1;
            //Setting selection to "Week":
            PeriodComboBox.SelectedIndex = 1;
            DayComboBox.IsEnabled        = false;

            DayComboBox.SelectionChanged          += ComboBox_SelectionChanged_DefaultHandler;
            MonthComboBox.SelectionChanged        += MonthComboBox_SelectionChanged;
            PeriodComboBox.SelectionChanged       += PeriodComboBox_SelectionChanged;
            StatWindWeekComboBox.SelectionChanged += ComboBox_SelectionChanged_DefaultHandler;

            UpdateStatisticsVisualisation();
        }
 private void MonthComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     Week.PrepareWeekComboBox(StatWindWeekComboBox, Period.Month, CurrSlctdMonth);
     UpdateStatisticsVisualisation();
 }