Changeset 2665 for trunk/sources/HeuristicLab.Core.Views/3.3/ViewHost.cs
- Timestamp:
- 01/21/10 05:10:12 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/ViewHost.cs
r2655 r2665 53 53 viewComboBox.Enabled = false; 54 54 viewComboBox.Visible = false; 55 messageLabel.Visible = false; 55 56 if (viewPanel.Controls.Count > 0) viewPanel.Controls[0].Dispose(); 56 57 viewPanel.Controls.Clear(); … … 63 64 foreach (Type viewType in viewTypes) 64 65 viewComboBox.Items.Add(viewType); 65 if (viewComboBox.Items.Count > 0) { 66 if (viewComboBox.Items.Count == 0) { 67 messageLabel.Visible = true; 68 } else { 66 69 viewLabel.Visible = true; 67 70 viewComboBox.Enabled = true; 68 71 viewComboBox.Visible = true; 72 messageLabel.Visible = false; 69 73 } 70 74
Note: See TracChangeset
for help on using the changeset viewer.