Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/11/10 12:03:25 (13 years ago)
Author:
mkommend
Message:

adapted view captions (ticket #893)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.PermutationEncoding.Views/3.3/PermutationTypeView.cs

    r3436 r3764  
    4545    public ComparisonView() {
    4646      InitializeComponent();
    47       Caption = "PermutationType View";
    4847      valueComboBox.DataSource = Enum.GetValues(typeof(PermutationTypes));
    4948    }
     
    6564    protected override void OnContentChanged() {
    6665      base.OnContentChanged();
    67       if (Content == null) {
    68         Caption = "PermutationType View";
     66      if (Content == null)
    6967        valueComboBox.Enabled = false;
    70       } else {
    71         Caption = Content.ToString() + " (" + Content.GetType().Name + ")";
     68      else
    7269        valueComboBox.SelectedItem = Content.Value;
    73       }
    7470      SetEnabledStateOfControls();
    7571    }
Note: See TracChangeset for help on using the changeset viewer.