コード例 #1
0
 private void InvokeVerticalScrolled(ScrollEventArgs e)
 {
     if (VerticalScrolled != null)
     {
         VerticalScrolled.Invoke(this, e);
     }
 }
コード例 #2
0
 private void VerticalScrollbarScroll(object sender, ScrollEventArgs e)
 {
     AutoScrollPosition = new Point(HorizontalMetroScrollbar.Value, e.NewValue);
     UpdateScrollBarPositions();
     VerticalScrolled?.Invoke(this, e);
 }