Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/04/13 10:15:31 (11 years ago)
Author:
jkarder
Message:

#2116:

  • fixed issues within the outermost control detection
  • fixed visible property assignment of the breadcrumb control in ViewHost
Location:
branches/Breadcrumbs/HeuristicLab.Optimization.Views/3.3/RunCollectionViews
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/Breadcrumbs/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionView.Designer.cs

    r9456 r10103  
    216216      this.viewHost.Caption = "View";
    217217      this.viewHost.Content = null;
     218      this.viewHost.IsValidOutermostViewhost = false;
    218219      this.viewHost.Location = new System.Drawing.Point(6, 19);
    219220      this.viewHost.Name = "viewHost";
  • branches/Breadcrumbs/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionView.cs

    r10093 r10103  
    245245        var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>();
    246246        var outermostViewHost = mainForm.ShowContentInOutermostViewHost(item, this, true);
    247         if (outermostViewHost.HotlinkingEnabled) {
     247        if (outermostViewHost != null && outermostViewHost.HotlinkingEnabled) {
    248248          outermostViewHost.ActiveView.ReadOnly = ReadOnly;
    249249          outermostViewHost.ActiveView.Locked = Locked;
     
    276276        var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>();
    277277        var outermostViewHost = mainForm.ShowContentInOutermostViewHost(item, this);
    278         outermostViewHost.ActiveView.ReadOnly = ReadOnly;
    279         outermostViewHost.ActiveView.Locked = Locked;
     278        if (outermostViewHost != null) {
     279          outermostViewHost.ActiveView.ReadOnly = ReadOnly;
     280          outermostViewHost.ActiveView.Locked = Locked;
     281        }
    280282      }
    281283    }
Note: See TracChangeset for help on using the changeset viewer.