Esempio n. 1
0
        public App()
            : base()
        {
            log = new ConsoleAL();
            mainWindow = new MainWindow();
            projectionWindow = new ProjectionWindow();
            game = new Game();
            displays = new List<ScoreDisplay>();
            projectorState = ProjectorState.STAND_BY;
            gameState = GameState.WAITING;
            liveMatch = mainWindow.liveMatch;
            selectedTab = mainWindow.GetSelectedTab();

            log.StartLog();

            SetupTimer();
            LoadDisplays();
            LoadFileHandler();
            WireHandlers();
            projectionWindow.Show();
            mainWindow.Show();
        }
Esempio n. 2
0
 private void CheckWindow()
 {
     if (!projectionWindow.IsWindowVisible())
     {
         projectionWindow = new ProjectionWindow();
         LoadDisplays();
         projectionWindow.Show();
     }
 }