/// <summary> /// Renames the selected album. /// </summary> private void RenameAlbum() { var form = new FrmUpdateAlbum { Library = Library, Album = GetSelectedAlbum() }; var result = form.ShowDialog(); if (result == DialogResult.OK) { BindData(); } }
/// <summary> /// Updates the album of the selected tracks /// </summary> private void UpdateAlbum() { var tracks = GetSelectedTracks(); if (tracks.Count == 0) return; var form = new FrmUpdateAlbum { Library = Library, Tracks = tracks }; var result = form.ShowDialog(); if (result == DialogResult.OK) { BindData(); } }