- Timestamp:
- 03/03/09 20:10:48 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization/Options/OptionsDialog.cs
r1237 r1242 5 5 namespace HeuristicLab.Visualization.Options { 6 6 public partial class OptionsDialog : Form { 7 private readonly LineChart lc;7 private readonly IChartDataRowsModel model; 8 8 9 public OptionsDialog( LineChart lc) {9 public OptionsDialog(IChartDataRowsModel model) { 10 10 InitializeComponent(); 11 this. lc = lc;11 this.model = model; 12 12 } 13 13 … … 27 27 28 28 private void OptionsDialog_Load(object sender, EventArgs e) { 29 if ( lc.GetRows().Count != 0) {30 LineSelectCB.DataSource = lc.GetRows();29 if (model.Rows.Count != 0) { 30 LineSelectCB.DataSource = model.Rows; 31 31 LineSelectCB.DisplayMember = "Label"; 32 32
Note: See TracChangeset
for help on using the changeset viewer.