Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3766 for trunk


Ignore:
Timestamp:
05/11/10 13:43:40 (15 years ago)
Author:
swagner
Message:

Implemented reviewers' comments (#893)

  • enabled name/description editing of runs
Location:
trunk/sources/HeuristicLab.Optimization.Views/3.3
Files:
2 edited

Legend:

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

    r3764 r3766  
    176176      this.viewHost.Location = new System.Drawing.Point(6, 19);
    177177      this.viewHost.Name = "viewHost";
    178       this.viewHost.ReadOnly = false;
     178      this.viewHost.ReadOnly = true;
    179179      this.viewHost.Size = new System.Drawing.Size(290, 195);
    180180      this.viewHost.TabIndex = 0;
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunView.cs

    r3764 r3766  
    4545    }
    4646
    47     public override bool ReadOnly {
    48       get { return base.ReadOnly; }
    49       set { /*not needed because results are always readonly */}
    50     }
    51 
    5247    /// <summary>
    5348    /// Initializes a new instance of <see cref="VariableView"/> with caption "Variable".
     
    5550    public RunView() {
    5651      InitializeComponent();
    57       base.ReadOnly = true;
    5852    }
    5953
     
    154148        IContentView view = MainFormManager.MainForm.ShowContent(item);
    155149        if (view != null) {
    156           view.ReadOnly = ReadOnly;
     150          view.ReadOnly = true;
    157151          view.Locked = Locked;
    158152        }
Note: See TracChangeset for help on using the changeset viewer.