private void buttonEditBudget_Click(object sender, EventArgs e)
        {
            FormEditBudget edit = new FormEditBudget(comboBoxBudgets.SelectedIndex);

            this.Hide();
            edit.ShowDialog();
            this.Show();
        }
        private void buttonNewBudget_Click(object sender, EventArgs e)
        {
            FormEditBudget edit = new FormEditBudget();

            this.Hide();
            edit.ShowDialog();
            this.Show();
            //add the created budget to the dropbox
            comboBoxBudgets.Items.Add(Globals.Budgets[Globals.Budgets.Count - 1].Budget_name);
        }