コード例 #1
0
 public void ShowListVideo()
 {
     FlistVideo                 = new Form_ListVideo(this.parent, ListVideoLiked.Instance.GetVideo());
     FlistVideo.TopLevel        = false;
     FlistVideo.FormBorderStyle = FormBorderStyle.None;
     FlistVideo.Dock            = DockStyle.Fill;
     this.pn_Liked_Video.Controls.Add(FlistVideo);
     this.pn_Liked_Video.Tag = FlistVideo;
     FlistVideo.BringToFront();
     FlistVideo.Show();
 }
コード例 #2
0
 private void LoadListVideo()
 {
     lvideo          = new Form_ListVideo(this.parent.parent, PlaylistVideo.Instance.GetListVideo(this.parent.ID_Playlist).GetVideo());
     lvideo.TopLevel = false;
     lvideo.Dock     = DockStyle.Fill;
     this.pn_List.Controls.Add(lvideo);
     this.pn_List.Tag = lvideo;
     lvideo.BringToFront();
     lvideo.Show();
     Number_song_video.Text = lvideo.listView_myvideo.Items.Count + " video";
     this.Date_create.Text  = PlaylistVideo.Instance.GetListVideo(this.parent.ID_Playlist).Date_Create.ToString();
 }
コード例 #3
0
 void LoadHistory()
 {
     ListVideoRecently.Instance.Load();
     FlistMusic                 = new Form_ListVideo(this.parent, ListVideoRecently.Instance.GetVideo());
     FlistMusic.TopLevel        = false;
     FlistMusic.FormBorderStyle = FormBorderStyle.None;
     FlistMusic.Dock            = DockStyle.Fill;
     this.pn_List.Controls.Add(FlistMusic);
     this.pn_List.Tag = FlistMusic;
     FlistMusic.BringToFront();
     FlistMusic.Show();
 }
コード例 #4
0
 public void ShowListVid()
 {
     FlistVideo                 = new Form_ListVideo(this.parent, ListMyVideo.Instance.GetVideo());
     FlistVideo.TopLevel        = false;
     FlistVideo.FormBorderStyle = FormBorderStyle.None;
     FlistVideo.Dock            = DockStyle.Fill;
     this.pn_List.Controls.Add(FlistVideo);
     this.pn_List.Tag = FlistVideo;
     FlistVideo.BringToFront();
     FlistVideo.Show();
     count            = ListMyVideo.Instance.GetVideo().Count;
     count_items.Text = "(" + count + ")";
 }
コード例 #5
0
 public SubPanelSelectVideo(Form_ListVideo parent = null)
 {
     this.parent = parent;
     InitializeComponent();
     toolStrip.ItemClicked += ClickItem;
 }