Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/08/16 15:26:41 (8 years ago)
Author:
mkommend
Message:

#1235: Merged r13458,r13614,r13627,r13628 into stable.

Location:
stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.MainForm.WindowsForms/3.3/MainForms/DockingMainForm.cs

    r12009 r13883  
    2525namespace HeuristicLab.MainForm.WindowsForms {
    2626  public partial class DockingMainForm : MainForm {
     27
     28    public bool AllowContexMenu { get; set; }
     29
    2730    public DockingMainForm()
    2831      : base() {
    2932      InitializeComponent();
     33      AllowContexMenu = true;
    3034    }
    3135    public DockingMainForm(Type userInterfaceItemType)
    3236      : base(userInterfaceItemType) {
    3337      InitializeComponent();
     38      AllowContexMenu = true;
    3439    }
    3540    public DockingMainForm(Type userInterfaceItemType, bool showContentInViewHost)
     
    6065
    6166    protected override Form CreateForm(IView view) {
    62       return new DockForm(view);
     67      return new DockForm(view, AllowContexMenu);
    6368    }
    6469
Note: See TracChangeset for help on using the changeset viewer.