private void resetApplicationStateToolStripMenuItem_Click(object sender, EventArgs e) { var dialogResult = MessageBox.Show("Are you sure you want to reset the application state? If you have any games currently loaded, you will have to reset them manually. ", "Reset application state", MessageBoxButtons.YesNo); if (dialogResult == DialogResult.Yes) { LocalDataManager.ResetApplication(); SetupGamesView(); LoadConfig(); } }