using System; using System.Windows.Forms; using HeuristicLab.Analysis; using HeuristicLab.Analysis.Views; namespace HistogramViewTest { public partial class Form1 : Form { private HistogramView view; public Form1() { InitializeComponent(); view = new HistogramView(); Histogram hist = new Histogram(); Random rand = new Random(); for (int index = 1; index < 100; index++) { hist.Values.Add(rand.Next(1, 1000)); } view.Content = hist; Controls.Add(view); } } }