Ejemplo n.º 1
0
        private void FullscreenToggle()
        {
            mainWindow.ToggleFullScreen();

            if (mainWindow.FullScreen)
            {
                mainWindow.SupervisorControl.CollapseExplorer();
            }
            else
            {
                mainWindow.SupervisorControl.ExpandExplorer(true);
            }

            // Propagates the call to screens.
            screenManager.FullScreen(mainWindow.FullScreen);
        }
Ejemplo n.º 2
0
        private void mnuFullScreenOnClick(object sender, EventArgs e)
        {
            MainWindow.ToggleFullScreen();

            if (MainWindow.FullScreen)
            {
                MainWindow.SupervisorControl.CollapseExplorer();
            }
            else
            {
                MainWindow.SupervisorControl.ExpandExplorer(true);
            }

            // Propagates the call to screens.
            m_ScreenManager.FullScreen(MainWindow.FullScreen);
        }