示例#1
0
文件: Form1.cs 项目: eriher/podMan
        private void playingPic_Click(object sender, EventArgs e)
        {
            tabControl1.SelectedIndex = 0;
            PodInfo uc = new PodInfo(PodMan.Instance.getPlaying().podcast_id);

            tabPage1.Controls.Add(uc);
            uc.BringToFront();
        }
示例#2
0
文件: Podlist.cs 项目: eriher/podMan
        private void Pic_MouseClick(object sender, MouseEventArgs e)
        {
            PodInfo uc = new PodInfo(((sender as PictureBox).Tag as Podcast).podcast_id);

            //panel1.Controls.Clear();
            //panel1.Controls.Add(uc);
            this.Parent.Controls.Add(uc);
            uc.BringToFront();
        }