Changeset 1350 for trunk/sources/HeuristicLab.Visualization/Options
- Timestamp:
- 03/16/09 19:42:17 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization/Options/OptionsDialog.cs
r1345 r1350 52 52 53 53 private void InitTabPageYAxes() { 54 for (int i = 0; i < model. Rows.Count; i++) {55 IDataRow row = model.Rows[i];54 for (int i = 0; i < model.YAxes.Count; i++) { 55 YAxisDescriptor yAxisDescriptor = model.YAxes[i]; 56 56 57 57 CheckBox chkbox = new CheckBox(); 58 chkbox.Text = row.Label;59 chkbox.Checked = row.ShowYAxis;60 chkbox.CheckedChanged += delegate { row.ShowYAxis = chkbox.Checked; };58 chkbox.Text = yAxisDescriptor.Label; 59 chkbox.Checked = yAxisDescriptor.ShowYAxis; 60 chkbox.CheckedChanged += delegate { yAxisDescriptor.ShowYAxis = chkbox.Checked; }; 61 61 62 62 dataRowsFlowLayout.Controls.Add(chkbox);
Note: See TracChangeset
for help on using the changeset viewer.