Changeset 6647 for branches/GP.Grammar.Editor/HeuristicLab.Analysis.Views/3.3/DataRowVisualPropertiesControl.cs
- Timestamp:
- 08/09/11 11:01:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP.Grammar.Editor/HeuristicLab.Analysis.Views/3.3/DataRowVisualPropertiesControl.cs
r6377 r6647 64 64 binsApproximatelyRadioButton.Checked = false; 65 65 binsExactRadioButton.Checked = false; 66 displayNameTextBox.Text = String.Empty; 66 67 } else { 67 68 chartTypeComboBox.SelectedItem = Content.ChartType; … … 83 84 binsApproximatelyRadioButton.Checked = !Content.ExactBins; 84 85 binsExactRadioButton.Checked = Content.ExactBins; 86 displayNameTextBox.Text = Content.DisplayName; 85 87 } 86 88 } finally { SuppressEvents = false; } … … 168 170 } 169 171 } 172 173 private void displayNameTextBox_Validated(object sender, EventArgs e) { 174 if (!SuppressEvents && Content != null) { 175 SuppressEvents = true; 176 try { 177 Content.DisplayName = displayNameTextBox.Text; 178 } finally { SuppressEvents = false; } 179 } 180 } 170 181 #endregion 171 182 }
Note: See TracChangeset
for help on using the changeset viewer.