Exemplo n.º 1
0
 private void BtnCreatePlaylist_Click(object sender, EventArgs e)
 {
     using (FormEditPlaylist formEditPlaylist = new FormEditPlaylist(this))
     {
         formEditPlaylist.ShowDialog();
     }
 }
Exemplo n.º 2
0
        private void BtnEdit_Click(object sender, EventArgs e)
        {
            if (Playlist == null)
            {
                return;
            }

            using (FormEditPlaylist formEditPlaylist = new FormEditPlaylist(this, Playlist))
            {
                formEditPlaylist.ShowDialog();
            }

            DgrPlaylist.DataSource = null;
            DgrPlaylist.DataSource = Playlist.SongList;
        }