Beispiel #1
0
 private void initUI()
 {
     TrackPointListView.Items.Clear();
     foreach (Signal _s in signal)
     {
         ListViewItem lvi = new ListViewItem(_s.signalID.ToString());
         lvi.SubItems.Add(_s.signalPoint.ToString());
         lvi.SubItems.Add(_s.signalDir.ToString());
         TrackPointListView.Items.Add(lvi);
     }
     TrackPointListView.Update();
 }
Beispiel #2
0
 private void initUI()
 {
     TrackPointListView.Items.Clear();
     foreach (TrackPoint _tPoint in tPoint)
     {
         ListViewItem lvi = new ListViewItem(_tPoint.trackPointID.ToString());
         lvi.SubItems.Add(_tPoint.trackPoint.ToString());
         lvi.SubItems.Add(_tPoint.firstTrackLine.ToString());
         lvi.SubItems.Add(_tPoint.secondTrackLine.ToString());
         lvi.SubItems.Add(_tPoint.thirdTrackLine.ToString());
         TrackPointListView.Items.Add(lvi);
     }
     TrackPointListView.Update();
 }