private void hScrollBar_ValueChanged(object sender, EventArgs e) { if (!IsLoaded) { return; } DisplayView(); if (ChartEventInstance != null) { ChartEventInstance.OnChangeChartScrollBarHandler(this.chart, hScrollBar.Value); } }
private void trackBar_ValueChanged(object sender, EventArgs e) { if (!IsLoaded) { return; } SelectedTrackBarValue = (int)trackBar.Value; SetScrollBar(); DisplayView(); if (ChartEventInstance != null) { ChartEventInstance.OnChangeChartTrackBarHandler(this.chart, trackBar.Value); } }