예제 #1
0
파일: App.xaml.cs 프로젝트: bdr27/c-
       // private object HandleSetNetworkMenuItem;

        public App()
            : base ()
        {
            serverMiniCheckers = new MainWindow();            
            WireHandlers();
            serverMiniCheckers.Show();
        }
예제 #2
0
파일: App.xaml.cs 프로젝트: bdr27/c-
 public App()
     : base ()
 {
     serverMiniCheckers = new MainWindow();
     serverMiniCheckers.UpdateMenuState(serverState);
     dbHandler = new MOCKDBHandler();
     dbHandler.LoadHighScores();
     serverMiniCheckers.LoadLeaderboard(dbHandler.GetHighScores());
     WireHandlers();
     serverMiniCheckers.Show();
     
     LoadMOCK();
 }
예제 #3
0
파일: App.xaml.cs 프로젝트: 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");
        }
예제 #4
0
파일: App.xaml.cs 프로젝트: 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");
        }