Free cookie consent management tool by TermsFeed Policy Generator

source: branches/histogram/HistogramViewTest/Form1.cs @ 5991

Last change on this file since 5991 was 5961, checked in by abeham, 14 years ago

#1465

  • Worked on the histogram view
File size: 559 bytes
RevLine 
[5961]1using System;
2using System.Windows.Forms;
3using HeuristicLab.Analysis;
4using HeuristicLab.Analysis.Views;
5
6namespace HistogramViewTest {
7  public partial class Form1 : Form {
8    private HistogramView view;
9
10    public Form1() {
11      InitializeComponent();
12      view = new HistogramView();
13      Histogram hist = new Histogram();
14      Random rand = new Random();
15      for (int index = 1; index < 100; index++) {
16        hist.Values.Add(rand.Next(1, 1000));
17      }
18      view.Content = hist;
19      Controls.Add(view);
20    }
21  }
22}
Note: See TracBrowser for help on using the repository browser.