protected virtual void OnHorizontalScrollBarStyleChanged(EventArgs e) { EventHandler handler; AdjustViewPort(); Invalidate(); handler = HorizontalScrollBarStyleChanged; if (handler != null) { handler(this, e); } }