added capture of runtime arguements, and then pass them to init
This commit is contained in:
parent
ef38c3678c
commit
5ce67686ec
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue