예제 #1
0
        private void btnClearMix_Click(object sender, EventArgs e)
        {
            if (BassPlayer.CurrentTrack == null || BassPlayer.PreviousTrack == null)
            {
                return;
            }

            // ReSharper disable once UseStringInterpolation
            var message = string.Format("Are you sure you wish to clear the extend mix details for {0} into {1}?",
                                        BassPlayer.PreviousTrack.Description,
                                        BassPlayer.CurrentTrack.Description);

            if (!MessageBoxHelper.Confirm(message))
            {
                return;
            }

            BassPlayer.ClearExtendedMix();
        }