Changeset 6011 for branches/histogram/HeuristicLab.Analysis.Views/3.3/DataRowVisualPropertiesControl.cs
- Timestamp:
- 04/15/11 14:54:43 (13 years ago)
- Location:
- branches/histogram
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/histogram
- Property svn:mergeinfo changed
/trunk/sources (added) merged: 5962-5963,5971-5972,5975-5976,5983-5984,5987,5993,5997-5998,6002-6003,6009
- Property svn:mergeinfo changed
-
branches/histogram/HeuristicLab.Analysis.Views/3.3/DataRowVisualPropertiesControl.cs
r6010 r6011 53 53 colorButton.BackColor = SystemColors.Control; 54 54 secondYAxisCheckBox.Checked = false; 55 secondXAxisCheckBox.Checked = false; 55 56 startIndexZeroCheckBox.Checked = false; 56 57 binsNumericUpDown.Value = 1; … … 58 59 } else { 59 60 chartTypeComboBox.SelectedItem = Content.ChartType; 60 colorButton.BackColor = Content.Color; 61 if (Content.Color.IsEmpty) { 62 colorButton.BackColor = SystemColors.Control; 63 colorButton.Text = "?"; 64 } else colorButton.BackColor = Content.Color; 61 65 secondYAxisCheckBox.Checked = Content.SecondYAxis; 66 secondXAxisCheckBox.Checked = Content.SecondXAxis; 62 67 startIndexZeroCheckBox.Checked = Content.StartIndexZero; 63 68 binsNumericUpDown.Value = Content.Bins; … … 85 90 Content.Color = colorDialog.Color; 86 91 colorButton.BackColor = Content.Color; 92 colorButton.Text = String.Empty; 87 93 } 88 94 } … … 91 97 if (!SuppressEvents && Content != null) { 92 98 Content.SecondYAxis = secondYAxisCheckBox.Checked; 99 } 100 } 101 102 private void secondXAxisCheckBox_CheckedChanged(object sender, EventArgs e) { 103 if (!SuppressEvents && Content != null) { 104 Content.SecondXAxis = secondXAxisCheckBox.Checked; 93 105 } 94 106 }
Note: See TracChangeset
for help on using the changeset viewer.