/// <summary>
 /// Updates the details of the selected track
 /// </summary>
 private void UpdateTrackDetails()
 {
     if (GetSelectedTrack() == null) return;
     var form = new FrmUpdateTrackDetails();
     form.Library = Library;
     form.Track = GetSelectedTrack();
     var result = form.ShowDialog();
     if (result == DialogResult.OK) BindData();
 }
Пример #2
0
        /// <summary>
        ///     Updates the details of the selected track
        /// </summary>
        private void UpdateTrackDetails()
        {
            var selectedTrack = GetSelectedTrack();

            if (selectedTrack == null)
            {
                return;
            }

            var form = new FrmUpdateTrackDetails
            {
                Library = Library,
                Track   = selectedTrack
            };
            var result = form.ShowDialog();

            if (result == DialogResult.OK)
            {
                BindData();
            }
        }