From 5ce67686ec058dfd8bfb137c392c49d21c606c47 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 4 Aug 2014 18:30:45 +0100 Subject: [PATCH] added capture of runtime arguements, and then pass them to init --- Saviour Backup System/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Saviour Backup System/Program.cs b/Saviour Backup System/Program.cs index f862ed6..561d30a 100644 --- a/Saviour Backup System/Program.cs +++ b/Saviour Backup System/Program.cs @@ -12,11 +12,11 @@ namespace Saviour_Backup_System /// The main entry point for the application. /// [STAThread] - static void Main() + static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); - setup.initProgram(); + setup.initProgram(args); Application.Run(new mainWindow()); } }