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); }
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); }