Changeset 4291
- Timestamp:
- 08/23/10 15:38:05 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/DataAnalysisProblemData.cs
r4250 r4291 106 106 if (TargetVariable != null) DeregisterStringValueEventHandlers(TargetVariable); 107 107 TargetVariableParameter.Value = value; 108 RegisterStringValueEventHandlers(TargetVariable);109 108 } 110 109 } … … 117 116 if (InputVariables != null) DeregisterInputVariablesEventHandlers(); 118 117 InputVariablesParameter.Value = value; 119 RegisterInputVariablesEventHandlers();120 118 } 121 119 } … … 128 126 if (TrainingSamplesStart != null) DeregisterValueTypeEventHandlers(TrainingSamplesStart); 129 127 TrainingSamplesStartParameter.Value = value; 130 RegisterValueTypeEventHandlers(TrainingSamplesStart);131 128 } 132 129 } … … 139 136 if (TrainingSamplesEnd != null) DeregisterValueTypeEventHandlers(TrainingSamplesEnd); 140 137 TrainingSamplesEndParameter.Value = value; 141 RegisterValueTypeEventHandlers(TrainingSamplesEnd);142 138 } 143 139 } … … 150 146 if (TestSamplesStart != null) DeregisterValueTypeEventHandlers(TestSamplesStart); 151 147 TestSamplesStartParameter.Value = value; 152 RegisterValueTypeEventHandlers(TestSamplesStart);153 148 } 154 149 } … … 161 156 if (TestSamplesEnd != null) DeregisterValueTypeEventHandlers(TestSamplesEnd); 162 157 TestSamplesEndParameter.Value = value; 163 RegisterValueTypeEventHandlers(TestSamplesEnd);164 158 } 165 159 } … … 207 201 208 202 [StorableConstructor] 209 private DataAnalysisProblemData(bool deserializing) : base( ) { }203 private DataAnalysisProblemData(bool deserializing) : base(deserializing) { } 210 204 211 205 [StorableHook(HookType.AfterDeserialization)] … … 249 243 } 250 244 private void InputVariablesParameter_ValueChanged(object sender, EventArgs e) { 245 RegisterInputVariablesEventHandlers(); 251 246 OnProblemDataChanged(EventArgs.Empty); 252 247 } 253 248 private void TargetVariableParameter_ValueChanged(object sender, EventArgs e) { 249 RegisterStringValueEventHandlers(TargetVariable); 254 250 if (TargetVariable != null) OnProblemDataChanged(EventArgs.Empty); 255 251 } 256 252 private void TrainingSamplesStartParameter_ValueChanged(object sender, EventArgs e) { 253 RegisterValueTypeEventHandlers(TrainingSamplesStart); 257 254 OnProblemDataChanged(EventArgs.Empty); 258 255 } 259 256 private void TrainingSamplesEndParameter_ValueChanged(object sender, EventArgs e) { 257 RegisterValueTypeEventHandlers(TrainingSamplesEnd); 260 258 OnProblemDataChanged(EventArgs.Empty); 261 259 } 262 260 private void TestSamplesStartParameter_ValueChanged(object sender, EventArgs e) { 261 RegisterValueTypeEventHandlers(TestSamplesStart); 263 262 OnProblemDataChanged(EventArgs.Empty); 264 263 } 265 264 private void TestSamplesEndParameter_ValueChanged(object sender, EventArgs e) { 265 RegisterValueTypeEventHandlers(TestSamplesEnd); 266 266 OnProblemDataChanged(EventArgs.Empty); 267 267 }
Note: See TracChangeset
for help on using the changeset viewer.