summaryrefslogtreecommitdiffstats
path: root/win/C#/Program.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-06-25 19:46:38 +0000
committersr55 <[email protected]>2010-06-25 19:46:38 +0000
commitbfaada823e0b3efca709cf709ee1aa67fd4c4c60 (patch)
treedf25306109517e6dcaad599bb4d6e97c4353e88c /win/C#/Program.cs
parent79cf721b8b77a102e481abfae2132fdaac0ccffd (diff)
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
Diffstat (limited to 'win/C#/Program.cs')
-rw-r--r--win/C#/Program.cs4
1 files changed, 2 insertions, 2 deletions
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.
/// </summary>
[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));
}
}