private void Reset_Click(object sender, EventArgs e) { if (MainService.ConfirmReset()) { foreach (var portfolio in PortfolioService.GetPortfolios()) { savePortfolioMenu.DropDownItems.RemoveByKey(portfolio.Name); loadPortfolioMenu.DropDownItems.RemoveByKey(portfolio.Name); } MainService.Reset(); } }