Пример #1
0
        public static void OpenVrPlayerForSetting()
        {
            _vrPlayerForSetting = new OpenVrPleyerHelper();

            ClientService service = new ClientService();

            _vrPlayerForSetting.LaunchProcess();
            App.MainWnd.Topmost           = false;
            App.LockDisplayWindow.Topmost = false;

            service.ChangeToampostMode(false);
        }
Пример #2
0
        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;
            }
        }
Пример #3
0
        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);
            }
        }