Exemplo n.º 1
0
        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");
        }
Exemplo n.º 2
0
        private void SwitchMapBtn_Click(object sender, EventArgs e)
        {
            SimpleSpinnerDialog simpleSpinnerDialog = new SimpleSpinnerDialog("Select map theme:", themes);

            simpleSpinnerDialog.PositiveHandler += ChangeTheme;
            simpleSpinnerDialog.Show(FragmentManager, "SimpleSpinnerDialog");
        }