Free cookie consent management tool by TermsFeed Policy Generator

source: branches/CEDMA-Refactoring-Ticket419/HeuristicLab.Visualization.Test/LineChartTestForm.cs @ 1044

Last change on this file since 1044 was 861, checked in by mstoeger, 15 years ago

Adjustments on LineChart for new interface. #345

File size: 578 bytes
Line 
1using System.Windows.Forms;
2using HeuristicLab.Core;
3
4namespace HeuristicLab.Visualization.Test {
5  public partial class LineChartTestForm : Form {
6    private ChartDataRowsModel model;
7
8    public LineChartTestForm() {
9      InitializeComponent();
10
11      model = new ChartDataRowsModel();
12
13      IView view = model.CreateView();
14
15      Control viewControl = (Control)view;
16      viewControl.Dock = DockStyle.Fill;
17
18      lineChartGroupBox.Controls.Add(viewControl);
19    }
20
21    public ChartDataRowsModel Model {
22      get { return model; }
23    }
24  }
25}
Note: See TracBrowser for help on using the repository browser.