Ejemplo n.º 1
0
        void ConfigureCustomReturnEffect()
        {
            CustomReturnEffect.SetReturnType(Player1Entry, ReturnType.Next);
            CustomReturnEffect.SetReturnCommand(Player1Entry, new Command(() => Player2Entry.Focus()));

            CustomReturnEffect.SetReturnType(Player2Entry, ReturnType.Go);
            CustomReturnEffect.SetReturnCommand(Player2Entry, new Command(() => HandleStartGameButtonClicked(StartGameButton, EventArgs.Empty)));
        }
Ejemplo n.º 2
0
 void ExecutePlayer1EntryReturnCommand(object sender, EventArgs e)
 {
     Player2Entry.Focus();
 }
Ejemplo n.º 3
0
 void HandlePlayer1EntryCompleted(object sender, EventArgs e)
 {
     Player2Entry.Focus();
 }