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