예제 #1
0
 private void btnShowData_Click(object sender, EventArgs e)
 {
     List<TimeSeries> timeSeries = new List<TimeSeries>();
     foreach (TimeSeries ts in listOfTimeSeries.SelectedItems)
     {
         timeSeries.Add(ts);
     }
     TimeSeriesRawDataViewer dataViewer = new TimeSeriesRawDataViewer(timeSeries);
     dataViewer.Show();
 }
예제 #2
0
 private void btnShowData_Click(object sender, EventArgs e)
 {
     List<TimeSeries> timeSeries = new List<TimeSeries>();
     foreach (TimeSeries ts in listOfTimeSeries.SelectedItems)
     {
         System.Console.WriteLine(ts);
         timeSeries.Add(ts);
     }
     TimeSeriesRawDataViewer dataViewer = new TimeSeriesRawDataViewer(timeSeries);
     // hmm... why is this ended up as null?
     if(dataViewer!=null)
     {
         dataViewer.Show();
     }
 }