Exemplo n.º 1
0
        /// <summary>
        ///     Handles the Click event of the btnClearSends control.
        /// </summary>
        private void btnClearSends_Click(object sender, EventArgs e)
        {
            var track = BassPlayer.CurrentTrack;

            if (track == null)
            {
                return;
            }

            var message = "Are you sure you wish to clear all Track FX triggers for " + track.Description + "?";

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

            BassPlayer.ClearTrackFxTriggers(track);
        }