diff options
author | sr55 <[email protected]> | 2011-04-03 17:49:44 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-04-03 17:49:44 +0000 |
commit | a6fbb52b6c9f4b639101e6e4d37e670ca2840c84 (patch) | |
tree | 5bf6b9a4d945365ba07dd07ba77fd05019d0e086 /win/CS/frmAbout.cs | |
parent | 80ebbf6f36a9084dd19e04e1cbfbd9ec93bfb6b6 (diff) |
WinGui:
- Move all user settings for the Services library into the services library.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3899 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/frmAbout.cs')
-rw-r--r-- | win/CS/frmAbout.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/win/CS/frmAbout.cs b/win/CS/frmAbout.cs index 70fc92250..05a2765c2 100644 --- a/win/CS/frmAbout.cs +++ b/win/CS/frmAbout.cs @@ -8,11 +8,17 @@ namespace Handbrake using System;
using System.Windows.Forms;
+ using HandBrake.ApplicationServices;
+ using HandBrake.ApplicationServices.Services;
+ using HandBrake.ApplicationServices.Services.Interfaces;
+
/// <summary>
/// The About Window
/// </summary>
public partial class frmAbout : Form
{
+ IUserSettingService userSettingService = new UserSettingService();
+
/// <summary>
/// Initializes a new instance of the <see cref="frmAbout"/> class.
/// </summary>
@@ -20,8 +26,8 @@ namespace Handbrake {
InitializeComponent();
- string nightly = Properties.Settings.Default.hb_version.Contains("svn") ? " (SVN / Nightly Build)" : string.Empty;
- lbl_GUIBuild.Text = Properties.Settings.Default.hb_version + " (" + Properties.Settings.Default.hb_build + ") " + nightly;
+ string nightly = userSettingService.GetUserSettingString(UserSettingConstants.HandBrakeVersion).Contains("svn") ? " (SVN / Nightly Build)" : string.Empty;
+ lbl_GUIBuild.Text = userSettingService.GetUserSettingString(UserSettingConstants.HandBrakeVersion) + " (" + userSettingService.GetUserSettingString(UserSettingConstants.HandBrakeBuild) + ") " + nightly;
}
/// <summary>
|