示例#1
0
 private void Init()
 {
   this.listView.Clear();
   this.listView.VirtualListSize = 0;
   this.viewer = DataObjectViewer.GetViewer(this.dataSeries);
   if (this.viewer == null)
     return;
   this.viewer.SetDataSeries(this.dataSeries);
   this.viewer.SetPriceFormat(this.priceFormat);
   this.listView.Columns.AddRange(this.viewer.GetColumnHeaders());
   this.listView.VirtualListSize = this.dataSeries.Count;
 }
示例#2
0
 private void Init()
 {
     this.listView.Clear();
     this.listView.VirtualListSize = 0;
     this.viewer = DataObjectViewer.GetViewer(this.dataSeries);
     if (this.viewer == null)
     {
         return;
     }
     this.viewer.SetDataSeries(this.dataSeries);
     this.viewer.SetPriceFormat(this.priceFormat);
     this.listView.Columns.AddRange(this.viewer.GetColumnHeaders());
     this.listView.VirtualListSize = this.dataSeries.Count;
 }