--- /dev/null
+<ResourceDictionary
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero">
+
+ <SolidColorBrush x:Key="ComboBox.Static.Background" Color="#414141" />
+ <SolidColorBrush x:Key="ComboBox.Static.Border" Color="#606060" />
+ <SolidColorBrush x:Key="ComboBox.Static.Editable.Background" Color="Black" />
+ <SolidColorBrush x:Key="ComboBox.Static.Editable.Border" Color="#5D5E60" />
+ <SolidColorBrush x:Key="ComboBox.Static.Editable.Button.Background" Color="Transparent" />
+ <SolidColorBrush x:Key="ComboBox.Static.Editable.Button.Border" Color="Transparent" />
+ <SolidColorBrush x:Key="ComboBox.MouseOver.Glyph" Color="White" />
+ <SolidColorBrush x:Key="ComboBox.MouseOver.Background" Color="#43474C" />
+ <SolidColorBrush x:Key="ComboBox.MouseOver.Border" Color="#7EB4EA" />
+ <SolidColorBrush x:Key="ComboBox.MouseOver.Editable.Background" Color="Black" />
+ <SolidColorBrush x:Key="ComboBox.MouseOver.Editable.Border" Color="#7EB4EA" />
+ <SolidColorBrush x:Key="ComboBox.MouseOver.Editable.Button.Background" Color="#1D5791" />
+ <SolidColorBrush x:Key="ComboBox.MouseOver.Editable.Button.Border" Color="#4B77A3" />
+ <SolidColorBrush x:Key="ComboBox.Pressed.Glyph" Color="White" />
+ <SolidColorBrush x:Key="ComboBox.Pressed.Background" Color="#2164A8" />
+ <SolidColorBrush x:Key="ComboBox.Pressed.Border" Color="#569DE5" />
+ <SolidColorBrush x:Key="ComboBox.Pressed.Editable.Background" Color="Black" />
+ <SolidColorBrush x:Key="ComboBox.Pressed.Editable.Border" Color="#569DE5" />
+ <SolidColorBrush x:Key="ComboBox.Pressed.Editable.Button.Background" Color="#2164A8" />
+ <SolidColorBrush x:Key="ComboBox.Pressed.Editable.Button.Border" Color="#569DE5" />
+ <SolidColorBrush x:Key="ComboBox.Disabled.Glyph" Color="#BFBFBF" />
+ <SolidColorBrush x:Key="ComboBox.Disabled.Background" Color="#282828" />
+ <SolidColorBrush x:Key="ComboBox.Disabled.Border" Color="#A8A8A8" />
+ <SolidColorBrush x:Key="ComboBox.Disabled.Editable.Background" Color="Black" />
+ <SolidColorBrush x:Key="ComboBox.Disabled.Editable.Border" Color="#A8A8A8" />
+ <SolidColorBrush x:Key="ComboBox.Disabled.Editable.Button.Background" Color="Transparent" />
+ <SolidColorBrush x:Key="ComboBox.Disabled.Editable.Button.Border" Color="Transparent" />
+ <SolidColorBrush x:Key="ComboBox.Static.Glyph" Color="#B7B7B7" />
+
+ <Style x:Key="ComboBoxToggleButton2" TargetType="{x:Type ToggleButton}">
+ <Setter Property="OverridesDefaultStyle" Value="true" />
+ <Setter Property="IsTabStop" Value="false" />
+ <Setter Property="Focusable" Value="false" />
+ <Setter Property="ClickMode" Value="Press" />
+ <Setter Property="Template">
+ <Setter.Value>
+ <ControlTemplate TargetType="{x:Type ToggleButton}">
+ <Border
+ x:Name="templateRoot"
+ Background="{DynamicResource ComboBox.Static.Background}"
+ BorderBrush="{DynamicResource ComboBox.Static.Border}"
+ BorderThickness="{TemplateBinding BorderThickness}"
+ SnapsToDevicePixels="true">
+ <Border
+ x:Name="splitBorder"
+ Width="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}"
+ Margin="0"
+ HorizontalAlignment="Right"
+ BorderBrush="Transparent"
+ BorderThickness="1"
+ SnapsToDevicePixels="true">
+ <Path
+ x:Name="arrow"
+ Margin="0"
+ HorizontalAlignment="Center"
+ VerticalAlignment="Center"
+ Data="F1 M 0,0 L 2.667,2.66665 L 5.3334,0 L 5.3334,-1.78168 L 2.6667,0.88501 L0,-1.78168 L0,0 Z"
+ Fill="{DynamicResource ComboBox.Static.Glyph}" />
+ </Border>
+ </Border>
+ <ControlTemplate.Triggers>
+ <MultiDataTrigger>
+ <MultiDataTrigger.Conditions>
+ <Condition Binding="{Binding IsEditable, RelativeSource={RelativeSource AncestorType={x:Type ComboBox}}}" Value="true" />
+ <Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="false" />
+ <Condition Binding="{Binding IsPressed, RelativeSource={RelativeSource Self}}" Value="false" />
+ <Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Self}}" Value="true" />
+ </MultiDataTrigger.Conditions>
+ <Setter TargetName="templateRoot" Property="Background" Value="{DynamicResource ComboBox.Static.Editable.Background}" />
+ <Setter TargetName="templateRoot" Property="BorderBrush" Value="{DynamicResource ComboBox.Static.Editable.Border}" />
+ <Setter TargetName="splitBorder" Property="Background" Value="{DynamicResource ComboBox.Static.Editable.Button.Background}" />
+ <Setter TargetName="splitBorder" Property="BorderBrush" Value="{DynamicResource ComboBox.Static.Editable.Button.Border}" />
+ </MultiDataTrigger>
+ <Trigger Property="IsMouseOver" Value="true">
+ <Setter TargetName="arrow" Property="Fill" Value="{DynamicResource ComboBox.MouseOver.Glyph}" />
+ </Trigger>
+ <MultiDataTrigger>
+ <MultiDataTrigger.Conditions>
+ <Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="true" />
+ <Condition Binding="{Binding IsEditable, RelativeSource={RelativeSource AncestorType={x:Type ComboBox}}}" Value="false" />
+ </MultiDataTrigger.Conditions>
+ <Setter TargetName="templateRoot" Property="Background" Value="{DynamicResource ComboBox.MouseOver.Background}" />
+ <Setter TargetName="templateRoot" Property="BorderBrush" Value="{DynamicResource ComboBox.MouseOver.Border}" />
+ </MultiDataTrigger>
+ <MultiDataTrigger>
+ <MultiDataTrigger.Conditions>
+ <Condition Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="true" />
+ <Condition Binding="{Binding IsEditable, RelativeSource={RelativeSource AncestorType={x:Type ComboBox}}}" Value="true" />
+ </MultiDataTrigger.Conditions>
+ <Setter TargetName="templateRoot" Property="Background" Value="{DynamicResource ComboBox.MouseOver.Editable.Background}" />
+ <Setter TargetName="templateRoot" Property="BorderBrush" Value="{DynamicResource ComboBox.MouseOver.Editable.Border}" />
+ <Setter TargetName="splitBorder" Property="Background" Value="{DynamicResource ComboBox.MouseOver.Editable.Button.Background}" />
+ <Setter TargetName="splitBorder" Property="BorderBrush" Value="{DynamicResource ComboBox.MouseOver.Editable.Button.Border}" />
+ </MultiDataTrigger>
+ <Trigger Property="IsPressed" Value="true">
+ <Setter TargetName="arrow" Property="Fill" Value="{DynamicResource ComboBox.Pressed.Glyph}" />
+ </Trigger>
+ <MultiDataTrigger>
+ <MultiDataTrigger.Conditions>
+ <Condition Binding="{Binding IsPressed, RelativeSource={RelativeSource Self}}" Value="true" />
+ <Condition Binding="{Binding IsEditable, RelativeSource={RelativeSource AncestorType={x:Type ComboBox}}}" Value="false" />
+ </MultiDataTrigger.Conditions>
+ <Setter TargetName="templateRoot" Property="Background" Value="{DynamicResource ComboBox.Pressed.Background}" />
+ <Setter TargetName="templateRoot" Property="BorderBrush" Value="{DynamicResource ComboBox.Pressed.Border}" />
+ </MultiDataTrigger>
+ <MultiDataTrigger>
+ <MultiDataTrigger.Conditions>
+ <Condition Binding="{Binding IsPressed, RelativeSource={RelativeSource Self}}" Value="true" />
+ <Condition Binding="{Binding IsEditable, RelativeSource={RelativeSource AncestorType={x:Type ComboBox}}}" Value="true" />
+ </MultiDataTrigger.Conditions>
+ <Setter TargetName="templateRoot" Property="Background" Value="{DynamicResource ComboBox.Pressed.Editable.Background}" />
+ <Setter TargetName="templateRoot" Property="BorderBrush" Value="{DynamicResource ComboBox.Pressed.Editable.Border}" />
+ <Setter TargetName="splitBorder" Property="Background" Value="{DynamicResource ComboBox.Pressed.Editable.Button.Background}" />
+ <Setter TargetName="splitBorder" Property="BorderBrush" Value="{DynamicResource ComboBox.Pressed.Editable.Button.Border}" />
+ </MultiDataTrigger>
+ <Trigger Property="IsEnabled" Value="false">
+ <Setter TargetName="arrow" Property="Fill" Value="{DynamicResource ComboBox.Disabled.Glyph}" />
+ </Trigger>
+ <MultiDataTrigger>
+ <MultiDataTrigger.Conditions>
+ <Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Self}}" Value="false" />
+ <Condition Binding="{Binding IsEditable, RelativeSource={RelativeSource AncestorType={x:Type ComboBox}}}" Value="false" />
+ </MultiDataTrigger.Conditions>
+ <Setter TargetName="templateRoot" Property="Background" Value="{DynamicResource ComboBox.Disabled.Background}" />
+ <Setter TargetName="templateRoot" Property="BorderBrush" Value="{DynamicResource ComboBox.Disabled.Border}" />
+ </MultiDataTrigger>
+ <MultiDataTrigger>
+ <MultiDataTrigger.Conditions>
+ <Condition Binding="{Binding IsEnabled, RelativeSource={RelativeSource Self}}" Value="false" />
+ <Condition Binding="{Binding IsEditable, RelativeSource={RelativeSource AncestorType={x:Type ComboBox}}}" Value="true" />
+ </MultiDataTrigger.Conditions>
+ <Setter TargetName="templateRoot" Property="Background" Value="{DynamicResource ComboBox.Disabled.Editable.Background}" />
+ <Setter TargetName="templateRoot" Property="BorderBrush" Value="{DynamicResource ComboBox.Disabled.Editable.Border}" />
+ <Setter TargetName="splitBorder" Property="Background" Value="{DynamicResource ComboBox.Disabled.Editable.Button.Background}" />
+ <Setter TargetName="splitBorder" Property="BorderBrush" Value="{DynamicResource ComboBox.Disabled.Editable.Button.Border}" />
+ </MultiDataTrigger>
+ </ControlTemplate.Triggers>
+ </ControlTemplate>
+ </Setter.Value>
+ </Setter>
+ </Style>
+ <ControlTemplate x:Key="ComboBoxTemplate" TargetType="{x:Type ComboBox}">
+ <Grid x:Name="templateRoot" SnapsToDevicePixels="true">
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="*" />
+ <ColumnDefinition Width="0" MinWidth="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}" />
+ </Grid.ColumnDefinitions>
+ <Popup
+ x:Name="PART_Popup"
+ Grid.ColumnSpan="2"
+ Margin="1"
+ AllowsTransparency="true"
+ IsOpen="{Binding IsDropDownOpen,
+ Mode=TwoWay,
+ RelativeSource={RelativeSource TemplatedParent}}"
+ Placement="Bottom"
+ PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}">
+ <themes:SystemDropShadowChrome
+ x:Name="shadow"
+ MinWidth="{Binding ActualWidth,
+ ElementName=templateRoot}"
+ MaxHeight="{TemplateBinding MaxDropDownHeight}"
+ Color="Transparent">
+ <Border
+ x:Name="dropDownBorder"
+ Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
+ BorderBrush="{DynamicResource {x:Static SystemColors.WindowFrameBrushKey}}"
+ BorderThickness="1">
+ <ScrollViewer x:Name="DropDownScrollViewer">
+ <Grid x:Name="grid" RenderOptions.ClearTypeHint="Enabled">
+ <Canvas
+ x:Name="canvas"
+ Width="0"
+ Height="0"
+ HorizontalAlignment="Left"
+ VerticalAlignment="Top">
+ <Rectangle
+ x:Name="opaqueRect"
+ Width="{Binding ActualWidth,
+ ElementName=dropDownBorder}"
+ Height="{Binding ActualHeight,
+ ElementName=dropDownBorder}"
+ Fill="{Binding Background,
+ ElementName=dropDownBorder}" />
+ </Canvas>
+ <ItemsPresenter
+ x:Name="ItemsPresenter"
+ KeyboardNavigation.DirectionalNavigation="Contained"
+ SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
+ </Grid>
+ </ScrollViewer>
+ </Border>
+ </themes:SystemDropShadowChrome>
+ </Popup>
+ <ToggleButton
+ x:Name="toggleButton"
+ Grid.ColumnSpan="2"
+ Background="{TemplateBinding Background}"
+ BorderBrush="{TemplateBinding BorderBrush}"
+ BorderThickness="{TemplateBinding BorderThickness}"
+ IsChecked="{Binding IsDropDownOpen,
+ Mode=TwoWay,
+ RelativeSource={RelativeSource TemplatedParent}}"
+ Style="{StaticResource ComboBoxToggleButton2}" />
+ <ContentPresenter
+ x:Name="contentPresenter"
+ Margin="{TemplateBinding Padding}"
+ HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
+ VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
+ Content="{TemplateBinding SelectionBoxItem}"
+ ContentStringFormat="{TemplateBinding SelectionBoxItemStringFormat}"
+ ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}"
+ ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}"
+ IsHitTestVisible="false"
+ SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
+ </Grid>
+ <ControlTemplate.Triggers>
+ <Trigger SourceName="PART_Popup" Property="HasDropShadow" Value="true">
+ <Setter TargetName="shadow" Property="Margin" Value="0 0 5 5" />
+ <Setter TargetName="shadow" Property="Color" Value="#71000000" />
+ </Trigger>
+ <Trigger Property="HasItems" Value="false">
+ <Setter TargetName="dropDownBorder" Property="Height" Value="95" />
+ </Trigger>
+ <MultiTrigger>
+ <MultiTrigger.Conditions>
+ <Condition Property="IsGrouping" Value="true" />
+ <Condition Property="VirtualizingPanel.IsVirtualizingWhenGrouping" Value="false" />
+ </MultiTrigger.Conditions>
+ <Setter Property="ScrollViewer.CanContentScroll" Value="false" />
+ </MultiTrigger>
+ <Trigger SourceName="DropDownScrollViewer" Property="ScrollViewer.CanContentScroll" Value="false">
+ <Setter TargetName="opaqueRect" Property="Canvas.Top" Value="{Binding VerticalOffset, ElementName=DropDownScrollViewer}" />
+ <Setter TargetName="opaqueRect" Property="Canvas.Left" Value="{Binding HorizontalOffset, ElementName=DropDownScrollViewer}" />
+ </Trigger>
+ </ControlTemplate.Triggers>
+ </ControlTemplate>
+ <SolidColorBrush x:Key="TextBox.Static.Background" Color="#FFFFFFFF" />
+ <ControlTemplate x:Key="ComboBoxEditableTemplate" TargetType="{x:Type ComboBox}">
+ <Grid x:Name="templateRoot" SnapsToDevicePixels="true">
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="*" />
+ <ColumnDefinition Width="0" MinWidth="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}" />
+ </Grid.ColumnDefinitions>
+ <Popup
+ x:Name="PART_Popup"
+ Grid.ColumnSpan="2"
+ AllowsTransparency="true"
+ IsOpen="{Binding IsDropDownOpen,
+ RelativeSource={RelativeSource TemplatedParent}}"
+ Placement="Bottom"
+ PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}">
+ <themes:SystemDropShadowChrome
+ x:Name="shadow"
+ MinWidth="{Binding ActualWidth,
+ ElementName=templateRoot}"
+ MaxHeight="{TemplateBinding MaxDropDownHeight}"
+ Color="Transparent">
+ <Border
+ x:Name="dropDownBorder"
+ Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}"
+ BorderBrush="{DynamicResource {x:Static SystemColors.WindowFrameBrushKey}}"
+ BorderThickness="1">
+ <ScrollViewer x:Name="DropDownScrollViewer">
+ <Grid x:Name="grid" RenderOptions.ClearTypeHint="Enabled">
+ <Canvas
+ x:Name="canvas"
+ Width="0"
+ Height="0"
+ HorizontalAlignment="Left"
+ VerticalAlignment="Top">
+ <Rectangle
+ x:Name="opaqueRect"
+ Width="{Binding ActualWidth,
+ ElementName=dropDownBorder}"
+ Height="{Binding ActualHeight,
+ ElementName=dropDownBorder}"
+ Fill="{Binding Background,
+ ElementName=dropDownBorder}" />
+ </Canvas>
+ <ItemsPresenter
+ x:Name="ItemsPresenter"
+ KeyboardNavigation.DirectionalNavigation="Contained"
+ SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
+ </Grid>
+ </ScrollViewer>
+ </Border>
+ </themes:SystemDropShadowChrome>
+ </Popup>
+ <ToggleButton
+ x:Name="toggleButton"
+ Grid.ColumnSpan="2"
+ Background="{TemplateBinding Background}"
+ BorderBrush="{TemplateBinding BorderBrush}"
+ BorderThickness="{TemplateBinding BorderThickness}"
+ IsChecked="{Binding IsDropDownOpen,
+ Mode=TwoWay,
+ RelativeSource={RelativeSource TemplatedParent}}"
+ Style="{StaticResource ComboBoxToggleButton2}" />
+ <Border
+ x:Name="border"
+ Margin="{TemplateBinding BorderThickness}"
+ Background="{StaticResource TextBox.Static.Background}">
+ <TextBox
+ x:Name="PART_EditableTextBox"
+ Margin="{TemplateBinding Padding}"
+ HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
+ VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
+ IsReadOnly="{Binding IsReadOnly,
+ RelativeSource={RelativeSource TemplatedParent}}"
+ Style="{StaticResource ComboBoxEditableTextBox}" />
+ </Border>
+ </Grid>
+ <ControlTemplate.Triggers>
+ <Trigger Property="IsEnabled" Value="false">
+ <Setter TargetName="border" Property="Opacity" Value="0.56" />
+ </Trigger>
+ <Trigger Property="IsKeyboardFocusWithin" Value="true">
+ <Setter Property="Foreground" Value="Black" />
+ </Trigger>
+ <Trigger SourceName="PART_Popup" Property="HasDropShadow" Value="true">
+ <Setter TargetName="shadow" Property="Margin" Value="0 0 5 5" />
+ <Setter TargetName="shadow" Property="Color" Value="#71000000" />
+ </Trigger>
+ <Trigger Property="HasItems" Value="false">
+ <Setter TargetName="dropDownBorder" Property="Height" Value="95" />
+ </Trigger>
+ <MultiTrigger>
+ <MultiTrigger.Conditions>
+ <Condition Property="IsGrouping" Value="true" />
+ <Condition Property="VirtualizingPanel.IsVirtualizingWhenGrouping" Value="false" />
+ </MultiTrigger.Conditions>
+ <Setter Property="ScrollViewer.CanContentScroll" Value="false" />
+ </MultiTrigger>
+ <Trigger SourceName="DropDownScrollViewer" Property="ScrollViewer.CanContentScroll" Value="false">
+ <Setter TargetName="opaqueRect" Property="Canvas.Top" Value="{Binding VerticalOffset, ElementName=DropDownScrollViewer}" />
+ <Setter TargetName="opaqueRect" Property="Canvas.Left" Value="{Binding HorizontalOffset, ElementName=DropDownScrollViewer}" />
+ </Trigger>
+ </ControlTemplate.Triggers>
+ </ControlTemplate>
+ <Style x:Key="ComboBoxBaseStyle" TargetType="ComboBox">
+ <Setter Property="Background" Value="{StaticResource ComboBox.Static.Background}" />
+ <Setter Property="BorderBrush" Value="{StaticResource ComboBox.Static.Border}" />
+ <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}" />
+ <Setter Property="BorderThickness" Value="1" />
+ <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" />
+ <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
+ <Setter Property="Padding" Value="6 3 5 3" />
+ <Setter Property="ScrollViewer.CanContentScroll" Value="true" />
+ <Setter Property="ScrollViewer.PanningMode" Value="Both" />
+ <Setter Property="Stylus.IsFlicksEnabled" Value="False" />
+ <Setter Property="Template" Value="{StaticResource ComboBoxTemplate}" />
+ <Style.Triggers>
+ <Trigger Property="IsEditable" Value="true">
+ <Setter Property="IsTabStop" Value="false" />
+ <Setter Property="Padding" Value="2" />
+ <Setter Property="Template" Value="{StaticResource ComboBoxEditableTemplate}" />
+ </Trigger>
+ </Style.Triggers>
+ </Style>
+ <Style BasedOn="{StaticResource ComboBoxBaseStyle}" TargetType="{x:Type ComboBox}" />
+ <Style
+ x:Key="ButtonStyle1"
+ BasedOn="{StaticResource ButtonBaseStyle}"
+ TargetType="{x:Type Button}" />
+
+</ResourceDictionary>
\ No newline at end of file
private string prePostFilenameText;\r
private bool showPrePostFilenameBox;\r
private bool whenDonePerformActionImmediately;\r
+ private bool useDarkTheme;\r
\r
#endregion\r
\r
}\r
}\r
\r
+ public bool UseDarkTheme\r
+ {\r
+ get => this.useDarkTheme;\r
+ set\r
+ {\r
+ if (value == this.useDarkTheme) return;\r
+ this.useDarkTheme = value;\r
+ this.NotifyOfPropertyChange(() => this.UseDarkTheme);\r
+ }\r
+ }\r
+\r
#endregion\r
\r
#region Output Files\r
this.ShowPreviewOnSummaryTab = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.ShowPreviewOnSummaryTab);\r
this.ShowAddAllToQueue = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.ShowAddAllToQueue);\r
this.ShowAddSelectionToQueue = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.ShowAddSelectionToQueue);\r
+ this.UseDarkTheme = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.UseDarkTheme);\r
\r
// #############################\r
// When Done\r
this.userSettingService.SetUserSetting(UserSettingConstants.SendFileToArgs, this.Arguments);\r
this.userSettingService.SetUserSetting(UserSettingConstants.ShowStatusInTitleBar, this.ShowStatusInTitleBar);\r
this.userSettingService.SetUserSetting(UserSettingConstants.ShowPreviewOnSummaryTab, this.ShowPreviewOnSummaryTab);\r
- \r
+ this.userSettingService.SetUserSetting(UserSettingConstants.UseDarkTheme, this.UseDarkTheme);\r
this.userSettingService.SetUserSetting(UserSettingConstants.UiLanguage, this.SelectedLanguage?.Culture);\r
this.userSettingService.SetUserSetting(UserSettingConstants.ShowAddAllToQueue, this.ShowAddAllToQueue);\r
this.userSettingService.SetUserSetting(UserSettingConstants.ShowAddSelectionToQueue, this.ShowAddSelectionToQueue);\r
this.userSettingService.SetUserSetting(UserSettingConstants.EnableNvencEncoder, this.EnableNvencEncoder);\r
\r
/* System and Logging */\r
- userSettingService.SetUserSetting(UserSettingConstants.ProcessPriority, this.SelectedPriority);\r
- userSettingService.SetUserSetting(UserSettingConstants.PreventSleep, this.PreventSleep);\r
- userSettingService.SetUserSetting(UserSettingConstants.PauseOnLowDiskspace, this.PauseOnLowDiskspace);\r
- userSettingService.SetUserSetting(UserSettingConstants.PauseOnLowDiskspaceLevel, this.PauseOnLowDiskspaceLevel);\r
- userSettingService.SetUserSetting(UserSettingConstants.Verbosity, this.SelectedVerbosity);\r
- userSettingService.SetUserSetting(UserSettingConstants.SaveLogWithVideo, this.CopyLogToEncodeDirectory);\r
- userSettingService.SetUserSetting(UserSettingConstants.SaveLogToCopyDirectory, this.CopyLogToSepcficedLocation);\r
- userSettingService.SetUserSetting(UserSettingConstants.SaveLogCopyDirectory, this.LogDirectory);\r
- userSettingService.SetUserSetting(UserSettingConstants.ClearOldLogs, this.ClearOldOlgs);\r
+ this.userSettingService.SetUserSetting(UserSettingConstants.ProcessPriority, this.SelectedPriority);\r
+ this.userSettingService.SetUserSetting(UserSettingConstants.PreventSleep, this.PreventSleep);\r
+ this.userSettingService.SetUserSetting(UserSettingConstants.PauseOnLowDiskspace, this.PauseOnLowDiskspace);\r
+ this.userSettingService.SetUserSetting(UserSettingConstants.PauseOnLowDiskspaceLevel, this.PauseOnLowDiskspaceLevel);\r
+ this.userSettingService.SetUserSetting(UserSettingConstants.Verbosity, this.SelectedVerbosity);\r
+ this.userSettingService.SetUserSetting(UserSettingConstants.SaveLogWithVideo, this.CopyLogToEncodeDirectory);\r
+ this.userSettingService.SetUserSetting(UserSettingConstants.SaveLogToCopyDirectory, this.CopyLogToSepcficedLocation);\r
+ this.userSettingService.SetUserSetting(UserSettingConstants.SaveLogCopyDirectory, this.LogDirectory);\r
+ this.userSettingService.SetUserSetting(UserSettingConstants.ClearOldLogs, this.ClearOldOlgs);\r
\r
/* Advanced */\r
- userSettingService.SetUserSetting(UserSettingConstants.MainWindowMinimize, this.MinimiseToTray);\r
- userSettingService.SetUserSetting(UserSettingConstants.ClearCompletedFromQueue, this.ClearQueueOnEncodeCompleted);\r
- userSettingService.SetUserSetting(UserSettingConstants.PreviewScanCount, this.SelectedPreviewCount);\r
- userSettingService.SetUserSetting(UserSettingConstants.X264Step, double.Parse(this.SelectedGranulairty, CultureInfo.InvariantCulture));\r
+ this.userSettingService.SetUserSetting(UserSettingConstants.MainWindowMinimize, this.MinimiseToTray);\r
+ this.userSettingService.SetUserSetting(UserSettingConstants.ClearCompletedFromQueue, this.ClearQueueOnEncodeCompleted);\r
+ this.userSettingService.SetUserSetting(UserSettingConstants.PreviewScanCount, this.SelectedPreviewCount);\r
+ this.userSettingService.SetUserSetting(UserSettingConstants.X264Step, double.Parse(this.SelectedGranulairty, CultureInfo.InvariantCulture));\r
\r
int value;\r
if (int.TryParse(this.MinLength.ToString(CultureInfo.InvariantCulture), out value))\r
this.userSettingService.SetUserSetting(UserSettingConstants.MinScanDuration, value);\r
}\r
\r
- userSettingService.SetUserSetting(UserSettingConstants.DisableLibDvdNav, this.DisableLibdvdNav);\r
+ this.userSettingService.SetUserSetting(UserSettingConstants.DisableLibDvdNav, this.DisableLibdvdNav);\r
}\r
\r
/// <summary>\r