Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/18/10 03:25:33 (14 years ago)
Author:
mkommend
Message:

renamed MainForm.ShowViewsInViewHost and removed ShowInViewHost from ViewAttribute (ticket #972)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.2/MultipleDocumentMainForm.cs

    r3394 r3395  
    3939      InitializeComponent();
    4040    }
    41     public MultipleDocumentMainForm(Type userInterfaceItemType, bool showInViewHost)
     41    public MultipleDocumentMainForm(Type userInterfaceItemType, bool showViewsInViewHost)
    4242      : this(userInterfaceItemType) {
    43       this.ShowInViewHost = showInViewHost;
     43      this.ShowViewsInViewHost = showViewsInViewHost;
    4444    }
    4545
     
    7575      Form form;
    7676      IContentView contentView = view as IContentView;
    77       if (ShowInViewHost && contentView != null && contentView.GetType() != typeof(ViewHost)) {
     77      if (ShowViewsInViewHost && contentView != null && contentView.GetType() != typeof(ViewHost)) {
    7878        ViewHost viewHost = new ViewHost(contentView.Content);
    7979        form = new DocumentForm(viewHost);
Note: See TracChangeset for help on using the changeset viewer.