diff options
Diffstat (limited to 'win/CS/Controls/AdvancedEncoderOpts.cs')
-rw-r--r-- | win/CS/Controls/AdvancedEncoderOpts.cs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/win/CS/Controls/AdvancedEncoderOpts.cs b/win/CS/Controls/AdvancedEncoderOpts.cs index 8eb2e8ae7..b3f42913a 100644 --- a/win/CS/Controls/AdvancedEncoderOpts.cs +++ b/win/CS/Controls/AdvancedEncoderOpts.cs @@ -7,19 +7,27 @@ namespace Handbrake.Controls {
using System.Windows.Forms;
+ using HandBrake.ApplicationServices;
+ using HandBrake.ApplicationServices.Services.Interfaces;
+
/// <summary>
/// The x264 Panel
/// </summary>
public partial class AdvancedEncoderOpts : UserControl
{
/// <summary>
+ /// The User Setting Service.
+ /// </summary>
+ private readonly IUserSettingService UserSettingService = ServiceManager.UserSettingService;
+
+ /// <summary>
/// Initializes a new instance of the <see cref="AdvancedEncoderOpts"/> class.
/// </summary>
public AdvancedEncoderOpts()
{
InitializeComponent();
- if (Properties.Settings.Default.tooltipEnable)
+ if (this.UserSettingService.GetUserSetting<bool>(UserSettingConstants.TooltipEnable))
ToolTip.Active = true;
}
@@ -39,6 +47,9 @@ namespace Handbrake.Controls }
}
+ /// <summary>
+ /// Sets a value indicating whether IsDisabled.
+ /// </summary>
public bool IsDisabled
{
set
|