private void DeleteCurrentProfile() { var dialogResult = MessageBox.Show("Delete the current Profile?", "Delete Profile", MessageBoxButtons.OKCancel); if (dialogResult == DialogResult.OK) { ProfileHandler.DeleteProfile(_profiles, _profile, true); ShowFirstProfile(); } }