public void RecreateBrushes()
        {
            if (_b1H != null)
            {
                _b1H.Dispose();
            }
            if (_b1V != null)
            {
                _b1V.Dispose();
            }
            if (_b2H != null)
            {
                _b2H.Dispose();
            }
            if (_b2V != null)
            {
                _b2V.Dispose();
            }

            _b1H = BrushHelper.GenerateVuMeterBrush(Width, Height, true);
            _b1V = BrushHelper.GenerateVuMeterBrush(Width, Height, false);

            Color cBack = ThemeManager.BackColor;

            if (_overrideBackColor != Color.Empty)
            {
                cBack = _overrideBackColor;
            }

            _b2H = new SolidBrush(cBack);
            _b2V = new SolidBrush(cBack);
        }
        private void RecreateBrush()
        {
            if (_b != null)
            {
                _b.Dispose();
            }

            _w = (int)(_f * (float)this.Width / (float)SignalAnalysisScreen.BandCount);
            if (_w < 1)
            {
                _w = 1;
            }

            int h = Math.Max(1, this.Height - 15);

            _b = BrushHelper.GenerateVuMeterBrush(_w, h, false);
        }