Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.@this = ((TraceLab.UI.WPF.Views.Nodes.ReadOnlyComponentNodeInfo)(target));
                return;

            case 2:
                this.resizeThumb = ((System.Windows.Controls.Primitives.Thumb)(target));

            #line 50 "..\..\..\..\Views\Nodes\ReadOnlyComponentNodeInfo.xaml"
                this.resizeThumb.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.resizeThumb_DragDelta);

            #line default
            #line hidden
                return;

            case 3:
                this.iospecRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 4:
                this.iospecExpander = ((System.Windows.Controls.Expander)(target));

            #line 63 "..\..\..\..\Views\Nodes\ReadOnlyComponentNodeInfo.xaml"
                this.iospecExpander.Expanded += new System.Windows.RoutedEventHandler(this.iospecExpander_Expanded);

            #line default
            #line hidden

            #line 63 "..\..\..\..\Views\Nodes\ReadOnlyComponentNodeInfo.xaml"
                this.iospecExpander.Collapsed += new System.Windows.RoutedEventHandler(this.iospecExpander_Collapsed);

            #line default
            #line hidden
                return;

            case 5:
                this.inputsLV = ((System.Windows.Controls.ListView)(target));
                return;

            case 7:
                this.outputsLV = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.@this = ((TraceLab.UI.WPF.Views.Nodes.ReadOnlyComponentNodeInfo)(target));
     return;
     case 2:
     this.resizeThumb = ((System.Windows.Controls.Primitives.Thumb)(target));
     
     #line 50 "..\..\..\..\Views\Nodes\ReadOnlyComponentNodeInfo.xaml"
     this.resizeThumb.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.resizeThumb_DragDelta);
     
     #line default
     #line hidden
     return;
     case 3:
     this.iospecRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 4:
     this.iospecExpander = ((System.Windows.Controls.Expander)(target));
     
     #line 63 "..\..\..\..\Views\Nodes\ReadOnlyComponentNodeInfo.xaml"
     this.iospecExpander.Expanded += new System.Windows.RoutedEventHandler(this.iospecExpander_Expanded);
     
     #line default
     #line hidden
     
     #line 63 "..\..\..\..\Views\Nodes\ReadOnlyComponentNodeInfo.xaml"
     this.iospecExpander.Collapsed += new System.Windows.RoutedEventHandler(this.iospecExpander_Collapsed);
     
     #line default
     #line hidden
     return;
     case 5:
     this.inputsLV = ((System.Windows.Controls.ListView)(target));
     return;
     case 7:
     this.outputsLV = ((System.Windows.Controls.ListView)(target));
     return;
     }
     this._contentLoaded = true;
 }