Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/11/11 12:00:36 (13 years ago)
Author:
mkommend
Message:

Implemented ShowContent method in MainForm which reuses existing views and adapted the ClipBoard (ticket #1372).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ViewHost.cs

    r5012 r5270  
    108108      get { return viewType; }
    109109      set {
    110         if (viewType != value) {
     110        if (viewType != value && value.GetType() != typeof(ViewHost)) {
    111111          if (value != null && Content != null && !ViewCanShowContent(value, Content))
    112112            throw new ArgumentException(string.Format("View \"{0}\" cannot display content \"{1}\".",
Note: See TracChangeset for help on using the changeset viewer.