Ejemplo n.º 1
0
        void PlayerService_SetTunerDevice(string displayName, TunerDevice dev)
        {
            FormJanelaFinal window = playerWindows[displayName];

            if (window.Controls.OfType <DigitalTVScreen>().Count() == 1)
            {
                DigitalTVScreen temp = window.Controls.OfType <DigitalTVScreen>().ToList()[0];

                temp.Devices.TunerDevice = DigitalTVScreen.DeviceStuff.TunerDevices.Values.Single(x => x.DevicePath == dev.DevicePath);
            }
        }
Ejemplo n.º 2
0
        void Player_OpenPlayerWindow(PlayerWindowInformation config)
        {
            if (playerWindows.Keys.Contains(config.Display.DeviceID))
            {
                return;
            }

            FormJanelaFinal newWindow = new FormJanelaFinal(playerWindows, config.Display.DeviceID);

            newWindow.Show(config);

            playerWindows.Add(config.Display.DeviceID, newWindow);
        }
Ejemplo n.º 3
0
        void PlayerService_SendTunerDevice(string displayName, out TunerDevice dev)
        {
            FormJanelaFinal window = playerWindows[displayName];

            dev = window.GetTunerDevice();
        }
Ejemplo n.º 4
0
        void PlayerService_TuneToChannel(string deviceName, WCFChannel ch)
        {
            FormJanelaFinal window = playerWindows[deviceName];

            window.SetChannel(NetWCFConverter.ToNET(ch));
        }