private void AddIncomeButton_Click(object sender, RoutedEventArgs e)
        {
            AddIncome income = new AddIncome(Budget);

            income.Show();
            this.Close();
        }
        /// <summary>
        /// A method that opens AddIncome window provided the user selected a budget from the ComboBox.
        /// </summary>
        private void NewIncomeButton_Click(object sender, RoutedEventArgs e)
        {
            Budget Budget = new Budget(null, 0);

            if (existingBudgets.SelectedItem == null)
            {
                MessageBox.Show("You haven't selected a budget!");
            }
            else
            {
                Budget = (Budget)existingBudgets.SelectedItem;
                AddIncome win = new AddIncome(Budget);
                win.Show();
                this.Close();
            }
        }