Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ReadOnlyGraphRoot = ((TraceLab.UI.WPF.Views.ReadonlyDockableGraph)(target));
                return;

            case 2:

            #line 42 "..\..\..\Views\ReadonlyDockableGraph.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ExecuteToggleLogLevel);

            #line default
            #line hidden

            #line 43 "..\..\..\Views\ReadonlyDockableGraph.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CanToggleLogLevel);

            #line default
            #line hidden
                return;

            case 3:
                this.zoomControl = ((TraceLab.UI.WPF.Controls.ZoomControl.ZoomControl)(target));
                return;

            case 4:
                this.MarqueeAdorner = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 5:
                this.graphLayout = ((TraceLab.UI.WPF.Controls.NodeGraphLayout)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ReadOnlyGraphRoot = ((TraceLab.UI.WPF.Views.ReadonlyDockableGraph)(target));
     return;
     case 2:
     
     #line 42 "..\..\..\Views\ReadonlyDockableGraph.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ExecuteToggleLogLevel);
     
     #line default
     #line hidden
     
     #line 43 "..\..\..\Views\ReadonlyDockableGraph.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CanToggleLogLevel);
     
     #line default
     #line hidden
     return;
     case 3:
     this.zoomControl = ((TraceLab.UI.WPF.Controls.ZoomControl.ZoomControl)(target));
     return;
     case 4:
     this.MarqueeAdorner = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 5:
     this.graphLayout = ((TraceLab.UI.WPF.Controls.NodeGraphLayout)(target));
     return;
     }
     this._contentLoaded = true;
 }