Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/15/09 14:01:15 (15 years ago)
Author:
mkommend
Message:

first version of generic views (ticket #771)

File:
1 edited

Legend:

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

    r2426 r2433  
    3030
    3131namespace HeuristicLab.MainForm.WindowsForms {
    32   public partial class ViewBase : UserControl,IView {
     32  public partial class ViewBase<T> : UserControl, IView<T> {
     33    protected T item;
    3334    public ViewBase() {
    3435      InitializeComponent();
     36      item = default(T);
     37    }
     38    public virtual void View(T item) {
    3539    }
    3640
Note: See TracChangeset for help on using the changeset viewer.