Changeset 8476
- Timestamp:
- 08/13/12 16:03:46 (12 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/SymbolView.Designer.cs
r7967 r8476 175 175 protected System.Windows.Forms.Label initialFrequencyLabel; 176 176 protected System.Windows.Forms.TextBox initialFrequencyTextBox; 177 pr ivateSystem.Windows.Forms.CheckBox enabledCheckBox;177 protected System.Windows.Forms.CheckBox enabledCheckBox; 178 178 protected System.Windows.Forms.Label minimumArityLabel; 179 179 protected System.Windows.Forms.Label maximumArityLabel; -
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/SymbolicExpressionGrammar.cs
r7733 r8476 181 181 182 182 #region IStatefulItem methods 183 void IStatefulItem.InitializeState() 184 { 183 void IStatefulItem.InitializeState() { 185 184 ReadOnly = false; 186 185 } … … 245 244 var groupSymbol = s as GroupSymbol; 246 245 if (groupSymbol != null) RegisterGroupSymbolEvents(groupSymbol); 247 else s ymbol.Changed += new EventHandler(Symbol_Changed);246 else s.Changed += new EventHandler(Symbol_Changed); 248 247 } 249 248 } … … 255 254 var groupSymbol = s as GroupSymbol; 256 255 if (groupSymbol != null) DeregisterGroupSymbolEvents(groupSymbol); 257 else s ymbol.Changed -= new EventHandler(Symbol_Changed);256 else s.Changed -= new EventHandler(Symbol_Changed); 258 257 } 259 258 } -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/VariableView.cs
r8103 r8476 92 92 protected override void SetEnabledStateOfControls() { 93 93 base.SetEnabledStateOfControls(); 94 enabledCheckBox.Enabled = Content != null && Content.VariableNames.Any() && !Locked && !ReadOnly; 94 95 weightInitializationMuTextBox.Enabled = Content != null; 95 96 weightInitializationMuTextBox.ReadOnly = ReadOnly;
Note: See TracChangeset
for help on using the changeset viewer.