Skip to content

Commit 389379b

Browse files
Initialize MainForm with args in Program.cs
1 parent 1908788 commit 389379b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

FileSyncAppWin/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ static void Main(string[] args)
5252
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
5353
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
5454
ApplicationConfiguration.Initialize();
55-
mainForm = new MainForm();
55+
mainForm = new MainForm(args);
5656
Application.Run(mainForm);
5757
}
5858
catch (Exception exception)

0 commit comments

Comments
 (0)