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.Operators.Views.GraphVisualization.Views/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/Breadcrumbs/HeuristicLab.Operators.Views.GraphVisualization.Views/3.3/OperatorGraphView.Designer.cs

    r9456 r10103  
    235235                  | System.Windows.Forms.AnchorStyles.Right)));
    236236      this.detailsViewHost.Content = null;
     237      this.detailsViewHost.IsValidOutermostViewhost = false;
    237238      this.detailsViewHost.Location = new System.Drawing.Point(3, 16);
    238239      this.detailsViewHost.Name = "detailsViewHost";
  • branches/Breadcrumbs/HeuristicLab.Operators.Views.GraphVisualization.Views/3.3/OperatorGraphView.cs

    r10093 r10103  
    142142            var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>();
    143143            var outermostViewHost = mainForm.ShowContentInOutermostViewHost(op, this);
    144             outermostViewHost.ActiveView.ReadOnly = ReadOnly;
    145             outermostViewHost.ActiveView.Locked = Locked;
     144            if (outermostViewHost != null) {
     145              outermostViewHost.ActiveView.ReadOnly = ReadOnly;
     146              outermostViewHost.ActiveView.Locked = Locked;
     147            }
    146148            HandledMouseEventArgs eventArgs = e as HandledMouseEventArgs;
    147149            if (eventArgs != null)
     
    196198        var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>();
    197199        var outermostViewHost = mainForm.ShowContentInOutermostViewHost(op, this);
    198         outermostViewHost.ActiveView.ReadOnly = ReadOnly;
    199         outermostViewHost.ActiveView.Locked = Locked;
     200        if (outermostViewHost != null) {
     201          outermostViewHost.ActiveView.ReadOnly = ReadOnly;
     202          outermostViewHost.ActiveView.Locked = Locked;
     203        }
    200204      }
    201205    }
Note: See TracChangeset for help on using the changeset viewer.