protected virtual void OnBandwidthChanged(BandwidthEventArgs e)
 {
     if (BandwidthChanged != null)
     {
         BandwidthChanged(this, e);
     }
 }
        private void UpdateBandwidth(int bw)
        {
            bw = 10 * (bw / 10);

            if (bw < 10)
            {
                bw = 10;
            }

            if (bw != _filterBandwidth)
            {
                var args = new BandwidthEventArgs(bw);
                OnBandwidthChanged(args);
                if (!args.Cancel)
                {
                    _filterBandwidth = args.Bandwidth;
                    _performNeeded   = true;
                }
            }
        }