Changeset 6878 for branches/GeneralizedQAP/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/SymbolView.cs
- Timestamp:
- 10/05/11 21:55:55 (13 years ago)
- Location:
- branches/GeneralizedQAP
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP
- Property svn:ignore
-
old new 1 *.docstates 2 *.psess 1 3 *.resharper 2 4 *.suo 5 *.vsp 3 6 Google.ProtocolBuffers-0.9.1.dll 7 HeuristicLab 3.3.5.1.ReSharper.user 8 HeuristicLab 3.3.6.0.ReSharper.user 4 9 HeuristicLab.4.5.resharper.user 5 10 HeuristicLab.resharper.user … … 8 13 _ReSharper.HeuristicLab 9 14 _ReSharper.HeuristicLab 3.3 15 _ReSharper.HeuristicLab.ExtLibs 16 bin 10 17 protoc.exe 11 HeuristicLab 3.3.5.1.ReSharper.user 12 *.psess 13 *.vsp 14 *.docstates 18 HeuristicLab.ExtLibs.6.0.ReSharper.user
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/GeneralizedQAP/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4
- Property svn:ignore
-
old new 4 4 *.vs10x 5 5 HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views-3.4.csproj.user 6 Plugin.cs
-
- Property svn:ignore
-
branches/GeneralizedQAP/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/SymbolView.cs
r6233 r6878 57 57 protected override void SetEnabledStateOfControls() { 58 58 base.SetEnabledStateOfControls(); 59 initialFrequencyTextBox.Enabled = Content != null ;59 initialFrequencyTextBox.Enabled = Content != null && !Locked; 60 60 initialFrequencyTextBox.ReadOnly = ReadOnly; 61 enabledCheckBox.Enabled = Content != null && !Locked && !ReadOnly; 61 62 } 62 63 … … 93 94 } 94 95 } 96 97 private void checkBoxEnabled_CheckedChanged(object sender, EventArgs e) { 98 if (Content != null) 99 Content.Enabled = enabledCheckBox.Checked; 100 } 95 101 #endregion 96 102 … … 99 105 if (Content == null) { 100 106 initialFrequencyTextBox.Text = string.Empty; 107 minimumArityTextBox.Text = string.Empty; 108 maximumArityTextBox.Text = string.Empty; 109 enabledCheckBox.Checked = false; 101 110 } else { 102 111 initialFrequencyTextBox.Text = Content.InitialFrequency.ToString(); 112 minimumArityTextBox.Text = Content.MinimumArity.ToString(); 113 maximumArityTextBox.Text = Content.MaximumArity.ToString(); 114 enabledCheckBox.Checked = Content.Enabled; 103 115 } 104 116 SetEnabledStateOfControls(); 105 117 } 106 118 #endregion 119 107 120 } 108 121 }
Note: See TracChangeset
for help on using the changeset viewer.