Exemplo n.º 1
0
Arquivo: App.xaml.cs Projeto: bdr27/c-
 public App()
     : base ()
 {
     serverMiniCheckers = new MainWindow();
     serverMiniCheckers.UpdateMenuState(serverState);
     dbHandler = new MOCKDBHandler();
     dbHandler.LoadHighScores();
     serverMiniCheckers.LoadLeaderboard(dbHandler.GetHighScores());
     WireHandlers();
     serverMiniCheckers.Show();
     
     LoadMOCK();
 }
Exemplo n.º 2
0
Arquivo: App.xaml.cs Projeto: 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");
        }
Exemplo n.º 3
0
Arquivo: App.xaml.cs Projeto: 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");
        }