private void btnWickiScroll_Click(object sender, RoutedEventArgs e) { if (wickiEyedenAutoScroller == null) { wickiEyedenAutoScroller = new AutoScrollerCentered(0, scrlWickiEyeden, new ExpDecayingFilter(0.1f), 100); } wickiEyedenAutoScroller.switchOnOff(); }
private void btnScroll_Click(object sender, RoutedEventArgs e) { if (netytarAutoScroller == null) { netytarAutoScroller = new AutoScrollerCentered(0, scrlNetytar, new ExpDecayingFilter(0.1f), 100); } netytarAutoScroller.switchOnOff(); }