1.1 --- a/Program.cs Mon Aug 11 23:18:45 2014 +0200
1.2 +++ b/Program.cs Tue Aug 12 20:37:57 2014 +0200
1.3 @@ -8,6 +8,7 @@
1.4 {
1.5 static class Program
1.6 {
1.7 + public static MainForm iMainForm;
1.8 /// <summary>
1.9 /// The main entry point for the application.
1.10 /// </summary>
1.11 @@ -16,7 +17,8 @@
1.12 {
1.13 Application.EnableVisualStyles();
1.14 Application.SetCompatibleTextRenderingDefault(false);
1.15 - Application.Run(new MainForm());
1.16 + iMainForm = new MainForm();
1.17 + Application.Run(iMainForm);
1.18 }
1.19 }
1.20 }