static void Main() { string currentWallpaper = DesktopWallpaper.GetCurrentWallpaper(); using (NHLGameMonitor monitor = new NHLGameMonitor()) { monitor.GameUpdated += monitor_GameUpdated; monitor.Begin(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); using (NHLSettingsForm form = new NHLSettingsForm(monitor)) { Application.Run(form); } } DesktopWallpaper.Change(currentWallpaper); }