public static void OpenVrPlayerForSetting() { _vrPlayerForSetting = new OpenVrPleyerHelper(); ClientService service = new ClientService(); _vrPlayerForSetting.LaunchProcess(); App.MainWnd.Topmost = false; App.LockDisplayWindow.Topmost = false; service.ChangeToampostMode(false); }
public static void SetItem(ProcessorHelper item) { _itemProcess = item; if (_itemProcess is GameProcessor) { _typeItem = TypeItem.Game; } else { OpenVrPleyerHelper VideoItem = item as OpenVrPleyerHelper; _typeItem = VideoItem.Video.TypeItem.Value; } }
public static void SetItem(ProcessorHelper item) { try { _itemProcess = item; if (_itemProcess is GameProcessor) { _typeItem = TypeItem.Game; } else { OpenVrPleyerHelper VideoItem = item as OpenVrPleyerHelper; _typeItem = VideoItem.Video.TypeItem.Value; } } catch (Exception ex) { App.SendException(ex); } }