diff options
Diffstat (limited to 'win/C#/Program.cs')
-rw-r--r-- | win/C#/Program.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/win/C#/Program.cs b/win/C#/Program.cs index fa186744d..d5da8f2d1 100644 --- a/win/C#/Program.cs +++ b/win/C#/Program.cs @@ -9,6 +9,8 @@ namespace Handbrake using System.IO;
using System.Windows.Forms;
+ using HandBrake.ApplicationServices;
+
using Handbrake.Properties;
using Presets;
@@ -73,6 +75,8 @@ namespace Handbrake x.UpdateBuiltInPresets();
}
+ InitializeApplicationServices();
+
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new frmMain());
@@ -80,6 +84,17 @@ namespace Handbrake }
/// <summary>
+ /// Initialize App Services
+ /// </summary>
+ private static void InitializeApplicationServices()
+ {
+ Init.SetupSettings(Settings.Default.cli_minimized, Settings.Default.CompletionOption, Settings.Default.noDvdNav,
+ Settings.Default.enocdeStatusInGui, Settings.Default.growlEncode, Settings.Default.growlQueue,
+ Settings.Default.processPriority, Settings.Default.saveLogPath, Settings.Default.saveLogToSpecifiedPath,
+ Settings.Default.saveLogWithVideo, Settings.Default.showCliForInGuiEncodeStatus);
+ }
+
+ /// <summary>
/// Throw up an error message for any unhandled exceptions.
/// </summary>
/// <param name="sender">The sender</param>
|