コード例 #1
0
 private void Init()
 {
   this.listView.Clear();
   this.listView.VirtualListSize = 0;
   this.viewer = DataObjectViewer.GetViewer(this.dataObjectType);
   if (this.viewer == null)
     return;
   this.viewer.SetDataSeries(this.dataSeries);
   this.viewer.SetPriceFormat(this.instrument.PriceFormat);
   this.listView.Columns.AddRange(this.viewer.GetColumnHeaders());
   this.listView.VirtualListSize = (int) this.dataSeries.Count;
 }
コード例 #2
0
 private void Init()
 {
     this.listView.Clear();
     this.listView.VirtualListSize = 0;
     this.viewer = DataObjectViewer.GetViewer(this.dataObjectType);
     if (this.viewer == null)
     {
         return;
     }
     this.viewer.SetDataSeries(this.dataSeries);
     this.viewer.SetPriceFormat(this.instrument.PriceFormat);
     this.listView.Columns.AddRange(this.viewer.GetColumnHeaders());
     this.listView.VirtualListSize = (int)this.dataSeries.Count;
 }