public void Shutdown() { Status = PresentationStatus.Hide; if (CurrentPresentation != null) { CurrentPresentation.Close(); CurrentPresentation = null; } Blackscreen.Close(); }
private void HandleKeyUp(object sender, KeyEventArgs e) { if (e.Key.Equals(Key.F)) { Blackscreen.WindowState = WindowState.Minimized; //if (fullscreen) //{ // Blackscreen.WindowState = WindowState.Normal; //} //else //{ // Blackscreen.WindowState = WindowState.Maximized; //} //fullscreen = !fullscreen; } else if (e.Key.Equals(Key.C)) { Blackscreen.Close(); } }