Пример #1
0
 // Routes events from _partTrack further on
 private void OnControlIndexChanged(object sender, IndexChangedEventArgs e)
 {
     if (ControlIndexChanged != null)
     {
         ControlIndexChanged(this, new IndexChangedEventArgs(e.SelectedIndex, e.ControlIndex));
     }
 }
Пример #2
0
 private void mapChart_ControlIndexChanged(object sender, IndexChangedEventArgs e)
 {
     UpdateInfoBox(e.SelectedIndex, e.ControlIndex);
     mapView.SetIndices(e.SelectedIndex, e.ControlIndex);
 }