Esempio n. 1
0
File: App.xaml.cs Progetto: bdr27/c-
 public App()
     : base ()
 {
     serverMiniCheckers = new MainWindow();
     serverMiniCheckers.UpdateMenuState(serverState);
     dbHandler = new MOCKDBHandler();
     dbHandler.LoadHighScores();
     serverMiniCheckers.LoadLeaderboard(dbHandler.GetHighScores());
     WireHandlers();
     serverMiniCheckers.Show();
     
     LoadMOCK();
 }
Esempio n. 2
0
File: App.xaml.cs Progetto: bdr27/c-
        public App()
            : base ()
        {
            serverMiniCheckers = new MainWindow();
            requestResponseLog = new List<string>();
            dbHandler = new MOCKDBHandler();

            WireHandlers();
            LoadMOCK();
            CheckStartServer();
            GetNetworkInfo();          
            
            dbHandler.LoadHighScores();
            serverMiniCheckers.LoadLeaderboard(dbHandler.GetHighScores());
            serverMiniCheckers.Show();
            
            
            updateRequestResponse("System Startup Complete");
        }
Esempio n. 3
0
File: App.xaml.cs Progetto: bdr27/c-
        public App()
            : base()
        {
            serverMiniCheckers = new MainWindow();
            dbHandler = new MOCKDBHandler();
            running = false;
            udpMessageHandler = new ServerUDPMessageHandler();
            multicastSender = new BroadcastSender();
            gameState = GameState.WAIT_FOR_GAME_START;

            SetupThreads();
            WireHandlers();
            LoadMOCK();
            CheckStartServer();
            GetNetworkInfo();

            dbHandler.LoadHighScores();
            serverMiniCheckers.LoadLeaderboard(dbHandler.GetHighScores());
            serverMiniCheckers.Show();

            updateRequestResponse("System Startup Complete");
        }