private void SwitchTeamBtn_Click(object sender, EventArgs e) { SimpleSpinnerDialog simpleSpinnerDialog = new SimpleSpinnerDialog("Which faction do you want to join?", teams); simpleSpinnerDialog.PositiveHandler += ChangeTeam; simpleSpinnerDialog.Show(FragmentManager, "SimpleSpinnerDialog"); }
private void SwitchMapBtn_Click(object sender, EventArgs e) { SimpleSpinnerDialog simpleSpinnerDialog = new SimpleSpinnerDialog("Select map theme:", themes); simpleSpinnerDialog.PositiveHandler += ChangeTheme; simpleSpinnerDialog.Show(FragmentManager, "SimpleSpinnerDialog"); }