예제 #1
0
        private async void ContentDialog_PrimaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args)
        {
            BattleSimulator sim = new BattleSimulator();

            this.Hide();
            await sim.RandomBattle();
        }
예제 #2
0
 private async void DoBattle_Pressed(object sender, RoutedEventArgs e)
 {
     BattleSimulator sim = new BattleSimulator();
     await sim.RandomBattle();
 }