Ejemplo n.º 1
0
 public void LoadMusic()
 {
     FlistMusic                 = new Form_ListMusic(this.parent, ListMusicPlaying.Instance.GetMusic());
     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();
 }
Ejemplo n.º 2
0
 void LoadHistory()
 {
     FlistMusic                     = new Form_ListMusic(this.parent, ListMusicRecently.Instance.GetMusic());
     FlistMusic.TopLevel            = false;
     FlistMusic.FormBorderStyle     = FormBorderStyle.None;
     FlistMusic.Dock                = DockStyle.Fill;
     FlistMusic.lv_My_Music.Sorting = SortOrder.None;
     this.pn_List.Controls.Add(FlistMusic);
     this.pn_List.Tag = FlistMusic;
     FlistMusic.BringToFront();
     FlistMusic.Show();
 }
 private void LoadListMusic()
 {
     FlistMusic                 = new Form_ListMusic(this.parent.parent, Playlist.Instance.GetListMusic(this.parent.ID_Playlist).GetMusic());
     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();
     Number_song.Text      = FlistMusic.lv_My_Music.Items.Count + " song";
     this.Date_create.Text = Playlist.Instance.GetListMusic(this.parent.ID_Playlist).Date_Create.ToString();
 }
Ejemplo n.º 4
0
 void ShowListMusic()
 {
     FlistMusic                 = new Form_ListMusic(this.parent, ListMyMusic.Instance.GetMusic());
     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();
     count            = ListMyMusic.Instance.GetMusic().Count;
     count_items.Text = "(" + count + ")";
 }