private void OnScrollBarChange(object sender, ScrollEventArgs e) { // Update with the new scroll value _scrollBar.Value = e.NewValue; if (ScrollChanged != null) ScrollChanged(this, EventArgs.Empty); }