Changeset 3177 for trunk/sources/HeuristicLab.Optimization.Views
- Timestamp:
- 03/22/10 16:43:57 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Optimization.Views/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/AlgorithmView.cs
r3149 r3177 146 146 Invoke(new EventHandler(Content_Started), sender, e); 147 147 else { 148 this.SuspendRepaint();149 148 SaveEnabled = false; 150 149 parameterCollectionView.Enabled = false; … … 156 155 resetButton.Enabled = false; 157 156 UpdateExecutionTimeTextBox(); 158 this.ResumeRepaint(true);159 157 } 160 158 } … … 163 161 Invoke(new EventHandler(Content_Stopped), sender, e); 164 162 else { 165 this.SuspendRepaint();166 163 SaveEnabled = true; 167 164 parameterCollectionView.Enabled = true; … … 173 170 resetButton.Enabled = true; 174 171 UpdateExecutionTimeTextBox(); 175 this.ResumeRepaint(true);176 172 } 177 173 } … … 207 203 this.Cursor = Cursors.AppStarting; 208 204 newProblemButton.Enabled = openProblemButton.Enabled = saveProblemButton.Enabled = false; 205 problemViewHost.Enabled = false; 209 206 210 207 var call = new Func<string, object>(XmlParser.Deserialize); … … 223 220 else 224 221 Content.Problem = problem; 222 problemViewHost.Enabled = true; 225 223 newProblemButton.Enabled = openProblemButton.Enabled = saveProblemButton.Enabled = true; 226 224 this.Cursor = Cursors.Default; … … 234 232 this.Cursor = Cursors.AppStarting; 235 233 newProblemButton.Enabled = openProblemButton.Enabled = saveProblemButton.Enabled = false; 234 problemViewHost.Enabled = false; 236 235 237 236 var call = new Action<IProblem, string, int>(XmlGenerator.Serialize); … … 246 245 } 247 246 Invoke(new Action(delegate() { 247 problemViewHost.Enabled = true; 248 248 newProblemButton.Enabled = openProblemButton.Enabled = saveProblemButton.Enabled = true; 249 249 this.Cursor = Cursors.Default; -
trunk/sources/HeuristicLab.Optimization.Views/3.3/UserDefinedAlgorithmView.cs
r2998 r3177 112 112 this.Cursor = Cursors.AppStarting; 113 113 newOperatorGraphButton.Enabled = openOperatorGraphButton.Enabled = saveOperatorGraphButton.Enabled = false; 114 operatorGraphViewHost.Enabled = false; 114 115 115 116 var call = new Func<string, object>(XmlParser.Deserialize); … … 127 128 else 128 129 Content.OperatorGraph = operatorGraph; 130 operatorGraphViewHost.Enabled = true; 129 131 newOperatorGraphButton.Enabled = openOperatorGraphButton.Enabled = saveOperatorGraphButton.Enabled = true; 130 132 this.Cursor = Cursors.Default; … … 138 140 this.Cursor = Cursors.AppStarting; 139 141 newOperatorGraphButton.Enabled = openOperatorGraphButton.Enabled = saveOperatorGraphButton.Enabled = false; 142 operatorGraphViewHost.Enabled = false; 140 143 141 144 var call = new Action<OperatorGraph, string, int>(XmlGenerator.Serialize); … … 150 153 } 151 154 Invoke(new Action(delegate() { 155 operatorGraphViewHost.Enabled = true; 152 156 newOperatorGraphButton.Enabled = openOperatorGraphButton.Enabled = saveOperatorGraphButton.Enabled = true; 153 157 this.Cursor = Cursors.Default;
Note: See TracChangeset
for help on using the changeset viewer.