private void GetDeviceTypes() { //if (DeviceTypesDownloadThread == null) //{ // DeviceTypesDownloadThread = new ThreadScheduler(); // DeviceTypesDownloadThread.Name = "DeviceTypesDownloadThread"; // DeviceTypesDownloadThread.IsBackground = false; //} //DeviceTypesDownloadThread.Start(new Action(() => //{ TypeParser.DownloadDeviceTypes(); //})); }