Beispiel #1
0
 private void hScrollBar_ValueChanged(object sender, EventArgs e)
 {
     if (!IsLoaded)
     {
         return;
     }
     DisplayView();
     if (ChartEventInstance != null)
     {
         ChartEventInstance.OnChangeChartScrollBarHandler(this.chart, hScrollBar.Value);
     }
 }
Beispiel #2
0
 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);
     }
 }