public void ButtonYES() { switch (questionID) { case 1: //Add new player and go back to configuration menu gmanager.AddnewPLayer(); break; case 2: gmanager.DeletePlayer(); break; case 3: break; default: break; } }