Exemplo n.º 1
0
        private void bgwTVGuide_DoWork(object sender, DoWorkEventArgs e)
        {
            MediaKlikk mediaKlikk = new MediaKlikk();
            Dictionary <string, Channel> channels = mediaKlikk.GetChannels();

            TVGuide tVGuide = new TVGuide();

            tVGuide.Initialize(channels);
        }
Exemplo n.º 2
0
        private void VideoPlayerForm_Load(object sender, EventArgs e)
        {
            // Center control buttons
            this.flowLayoutPanel1.Location = new System.Drawing.Point((this.mediaPlayer.Width / 2) - (this.flowLayoutPanel1.Width / 2) + 12, this.mediaPlayer.Bottom + 6);

            // Get channels
            MediaKlikk mediaKlikk = new MediaKlikk();

            channels             = mediaKlikk.GetChannels();
            currentChannel       = channels["M1"];
            currentChannelButton = btM1;
        }