private void manageMonthsBtn_Click_1(object sender, EventArgs e) { var manageBudget = new ManageBudget(_year); this.Close(); manageBudget.Show(); }
private void logPurchasesBtn_Click(object sender, EventArgs e) { if (File.Exists(_selectedBudgetFilepath)) { var manageBudget = new ManageBudget(YearTop.LoadFromFile(_selectedBudgetFilepath)); manageBudget.Show(); } else { MessageBox.Show("select a valid file to load from!"); } }