static void Main() { Control.CheckForIllegalCrossThreadCalls = false; Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); LoadExecutables(); _xboxLocator = new XBoxLocator(); _screenshotTool = new ScreenshotTool(); _LEDStateChanger = new LEDStateChanger(); _moduleManager = new ModuleManager(); _newModule = new NewModule(); if (Properties.Settings.Default.AutoDiscover) FindXBox(); else FindXBox(Properties.Settings.Default.XBoxIP); }
static void Main() { Control.CheckForIllegalCrossThreadCalls = false; Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); LoadExecutables(); _xboxLocator = new XBoxLocator(); _screenshotTool = new ScreenshotTool(); _LEDStateChanger = new LEDStateChanger(); _moduleManager = new ModuleManager(); _newModule = new NewModule(); if (Properties.Settings.Default.AutoDiscover) { FindXBox(); } else { FindXBox(Properties.Settings.Default.XBoxIP); } }