private void DeleteButton_Pressed(object sender, EventArgs e) { if (GtkDialog.CreateChoiceDialog("Delete User Profile", "Are you sure you want to delete the profile ?", "Deleting this profile will also delete all associated save data.")) { _accountManager.DeleteUser(GetSelectedUserId()); RefreshList(); } }