1
Fork 0

added capture of runtime arguements, and then pass them to init

This commit is contained in:
Jake Howard 2014-08-04 18:30:45 +01:00
parent ef38c3678c
commit 5ce67686ec

View file

@ -12,11 +12,11 @@ namespace Saviour_Backup_System
/// The main entry point for the application. /// The main entry point for the application.
/// </summary> /// </summary>
[STAThread] [STAThread]
static void Main() static void Main(string[] args)
{ {
Application.EnableVisualStyles(); Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false); Application.SetCompatibleTextRenderingDefault(false);
setup.initProgram(); setup.initProgram(args);
Application.Run(new mainWindow()); Application.Run(new mainWindow());
} }
} }