private void DiscardPickedResolution() { // Hide the resolution picker dialog. resolution_picker_dialog.Visibility = System.Windows.Visibility.Collapsed; // Hide the navigation drawer. AppNavDrawer.CloseDrawer(); }
private void DiscardPickedColor() { // Hide the color picker dialog. color_picker_dialog.Visibility = System.Windows.Visibility.Collapsed; // Hide the navigation drawer. AppNavDrawer.CloseDrawer(); }
private void SavePickedResolution(int width, int height) { // Hide the resolution picker dialog. resolution_picker_dialog.Visibility = System.Windows.Visibility.Collapsed; overlay_window.SetWindowWidthHeight(width, height); // Hide the navigation drawer. AppNavDrawer.CloseDrawer(); }
private void SavePickedColor() { // Hide the color picker dialog. color_picker_dialog.Visibility = System.Windows.Visibility.Collapsed; // Set the OverlayWindow background color. overlay_window.SetBackgroundColor(color_picker.BackgroundColor); // Hide the navigation drawer. AppNavDrawer.CloseDrawer(); }