Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/22/11 12:47:58 (13 years ago)
Author:
mkommend
Message:

#1573: Made RunView always readonly to prevent the manipulation of run results.

File:
1 edited

Legend:

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

    r5837 r6818  
    4444    }
    4545
     46    public override bool ReadOnly {
     47      get { return true; }
     48      set { /*not needed because runs are always readonly */}
     49    }
     50
    4651    /// <summary>
    4752    /// Initializes a new instance of <see cref="VariableView"/> with caption "Variable".
     
    7984      detailsGroupBox.Enabled = (Content != null) && (listView.SelectedItems.Count == 1);
    8085      viewHost.Enabled = Content != null;
     86      viewHost.ReadOnly = ReadOnly;
    8187      changeColorButton.Enabled = Content != null;
    8288      showAlgorithmButton.Enabled = Content != null && Content.Algorithm != null && !Locked;
Note: See TracChangeset for help on using the changeset viewer.