Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/19/10 19:43:05 (14 years ago)
Author:
mkommend
Message:

Adjusted the SetEnabledStateOfControls method in all views, added the Enabled property into the IView interface and adapted the ViewHost, View and ContentView class (ticket #1155).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/ResultView.cs

    r3904 r4435  
    4545
    4646    public override bool ReadOnly {
    47       get { return base.ReadOnly; }
     47      get { return true; }
    4848      set { /*not needed because results are always readonly */}
    4949    }
     
    5454    public ResultView() {
    5555      InitializeComponent();
    56       base.ReadOnly = true;
    5756    }
    5857
     
    9190      dataTypeTextBox.Enabled = Content != null;
    9291      viewHost.Enabled = Content != null;
     92      viewHost.ReadOnly = this.ReadOnly;
    9393    }
    9494
Note: See TracChangeset for help on using the changeset viewer.