private void LoadingResources()
        {
            DispatcherTimer loadingTimer = new DispatcherTimer();

            loadingTimer.Interval = TimeSpan.FromMilliseconds(1000); //Eredetileg ez 1000, demóig legyen kevesebb
            loadingTimer.Tick    += LoadingTimer_Tick;
            loadingTimer.Start();

            page = new RunningGame();
        }
Beispiel #2
0
        private void joinButton_Click(object sender, RoutedEventArgs e)
        {
            RunningGame runningGame = new RunningGame();

            this.NavigationService.Navigate(runningGame);
        }