Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/30/09 11:06:10 (15 years ago)
Author:
mkommend
Message:

implemented last changes in MainForm as discussed with SWA (ticket #771)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Mainform refactoring/HeuristicLab.MainForm.WindowsForms/3.2/ViewBase.cs

    r2433 r2456  
    3131namespace HeuristicLab.MainForm.WindowsForms {
    3232  public partial class ViewBase<T> : UserControl, IView<T> {
    33     protected T item;
     33   
    3434    public ViewBase() {
    3535      InitializeComponent();
    3636      item = default(T);
    3737    }
     38
     39    private T item;
     40    public virtual T Item {
     41      get { return this.item; }
     42      protected set { this.item = value; }
     43    }
     44
    3845    public virtual void View(T item) {
    3946    }
Note: See TracChangeset for help on using the changeset viewer.