- Timestamp:
- 05/11/10 05:01:42 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/EngineAlgorithmView.cs
r3640 r3759 108 108 operatorGraphViewHost.ReadOnly = true; 109 109 engineComboBox.Enabled = Content != null && !ReadOnly; 110 createUserDefinedAlgorithmButton.Enabled = Content != null && !Locked;111 110 } 112 111 … … 143 142 } 144 143 } 145 146 protected virtual void createUserDefinedAlgorithmButton_Click(object sender, EventArgs e) {147 IContentView view = MainFormManager.MainForm.ShowContent(Content.CreateUserDefinedAlgorithm());148 if (view != null) {149 view.ReadOnly = this.ReadOnly;150 view.Locked = this.Locked;151 }152 }153 144 } 154 145 }
Note: See TracChangeset
for help on using the changeset viewer.