/// <summary> /// Updates the artist of the selected tracks /// </summary> private void UpdateArtist() { var tracks = GetSelectedTracks(); if (tracks.Count == 0) return; var form = new FrmUpdateArtist { Library = Library, Tracks = tracks }; var result = form.ShowDialog(); if (result == DialogResult.OK) { BindData(); } }
/// <summary> /// Shows the Rename Artist screen. /// </summary> private void RenameArtist() { var form = new FrmUpdateArtist { Library = Library, Artist = GetSelectedArtist() }; var result = form.ShowDialog(); if (result == DialogResult.OK) BindData(false); }
/// <summary> /// Updates the album artist of the selected tracks /// </summary> private void UpdateAlbumArtist() { var form = new FrmUpdateArtist { Library = Library, Album = GetSelectedAlbum() }; var result = form.ShowDialog(); if (result == DialogResult.OK) { BindData(); } }