From b2641e9cfaaeffa9e0805e948f2d74b8967b6a58 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 30 Dec 2014 20:52:40 +0000 Subject: [PATCH] made the program file contain global references. --- Program.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index 534e003..6086995 100644 --- a/Program.cs +++ b/Program.cs @@ -16,7 +16,11 @@ namespace Pithos { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new unlock()); + UL = new unlock(); + MW = new mainWindow(); + Application.Run(UL); } + public static unlock UL; + public static mainWindow MW; } }