From bfaada823e0b3efca709cf709ee1aa67fd4c4c60 Mon Sep 17 00:00:00 2001 From: sr55 Date: Fri, 25 Jun 2010 19:46:38 +0000 Subject: WinGui: - Allow files to be dropped on the GUI executable. (Including shortcuts). This will automatically try to scan the file. Users can add their own registry entries to add an "open with" if they choose. - Fixed an exception that occurs when a scanned file returns no titles. - Fixed an issue where pressing "No" to the on close warning (when encodes are running) would cancel the encode anyway. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3405 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win/C#/Program.cs') diff --git a/win/C#/Program.cs b/win/C#/Program.cs index d5da8f2d1..19f5fb2cb 100644 --- a/win/C#/Program.cs +++ b/win/C#/Program.cs @@ -24,7 +24,7 @@ namespace Handbrake /// The main entry point for the application. /// [STAThread] - public static void Main() + public static void Main(string[] args) { // Handle any unhandled exceptions AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); @@ -79,7 +79,7 @@ namespace Handbrake Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new frmMain()); + Application.Run(new frmMain(args)); } } -- cgit v1.2.3