Changeset 3362 for trunk/sources/HeuristicLab.Core.Views/3.3/EngineView.cs
- Timestamp:
- 04/16/10 01:49:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/EngineView.cs
r3289 r3362 77 77 if (Content == null) { 78 78 logView.Content = null; 79 executionTimeTextBox.Text = "-"; 80 } else { 81 logView.Content = Content.Log; 82 executionTimeTextBox.Text = Content.ExecutionTime.ToString(); 83 } 84 SetEnabledStateOfControls(); 85 } 86 87 protected override void OnReadOnlyChanged() { 88 base.OnReadOnlyChanged(); 89 SetEnabledStateOfControls(); 90 } 91 92 private void SetEnabledStateOfControls() { 93 if (Content == null) { 79 94 logView.Enabled = false; 80 executionTimeTextBox.Text = "-";81 95 executionTimeTextBox.Enabled = false; 82 96 } else { 83 logView. Content = Content.Log;97 logView.ReadOnly = ReadOnly; 84 98 logView.Enabled = true; 85 executionTimeTextBox.Text = Content.ExecutionTime.ToString();86 99 executionTimeTextBox.Enabled = true; 87 100 }
Note: See TracChangeset
for help on using the changeset viewer.