Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
            }
        }