Example #1
0
 private void GameManagerViewModelOnAttackTeamSelectionClosed(object sender, EventArgs e)
 {
     WindowWrapper.Current().Dispatcher.Dispatch(() =>
     {
         HideSelectAttackTeamGridStoryboard.Completed += (ss, ee) => { SelectAttackTeamGrid.Visibility = Visibility.Collapsed; };
         HideSelectAttackTeamGridStoryboard.Begin();
     });
 }
Example #2
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            // Hide panels
            HideSelectAttackTeamGridStoryboard.Begin();

            SubscribeToEnterEvents();
        }