/// <summary> /// Opens the Category Manager. /// </summary> private void categoryManagerToolStripMenuItem_Click(object sender, EventArgs e) { if (budget != null) { EditSelection oForm = new EditSelection(budget, "Category"); oForm.StartPosition = FormStartPosition.CenterParent; oForm.ShowDialog(); //Using showdialog so that the main form pauses while the AccountManager is open. oForm = null; FillDGVS(); } else { PleaseCreateOrLoadBudget(); } }