Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/21/10 05:10:12 (15 years ago)
Author:
swagner
Message:

Continued work on adapting and refactoring HeuristicLab.Data according to the changes in HeuristicLab.Core (#95)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/ViewHost.cs

    r2655 r2665  
    5353      viewComboBox.Enabled = false;
    5454      viewComboBox.Visible = false;
     55      messageLabel.Visible = false;
    5556      if (viewPanel.Controls.Count > 0) viewPanel.Controls[0].Dispose();
    5657      viewPanel.Controls.Clear();
     
    6364        foreach (Type viewType in viewTypes)
    6465          viewComboBox.Items.Add(viewType);
    65         if (viewComboBox.Items.Count > 0) {
     66        if (viewComboBox.Items.Count == 0) {
     67          messageLabel.Visible = true;
     68        } else {
    6669          viewLabel.Visible = true;
    6770          viewComboBox.Enabled = true;
    6871          viewComboBox.Visible = true;
     72          messageLabel.Visible = false;
    6973        }
    7074
Note: See TracChangeset for help on using the changeset viewer.