Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.uiFrame = ((LEDX.Components.UiFrame)(target));

            #line 8 "..\..\..\Components\UIFrame.xaml"
                this.uiFrame.DragOver += new System.Windows.DragEventHandler(this.grFrame_DragOver);

            #line default
            #line hidden

            #line 8 "..\..\..\Components\UIFrame.xaml"
                this.uiFrame.Drop += new System.Windows.DragEventHandler(this.grFrame_Drop);

            #line default
            #line hidden

            #line 8 "..\..\..\Components\UIFrame.xaml"
                this.uiFrame.DragLeave += new System.Windows.DragEventHandler(this.grFrame_DragLeave);

            #line default
            #line hidden

            #line 9 "..\..\..\Components\UIFrame.xaml"
                this.uiFrame.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.grFrame_PreviewMouseMove);

            #line default
            #line hidden

            #line 9 "..\..\..\Components\UIFrame.xaml"
                this.uiFrame.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.grFrame_PreviewMouseButtonDown);

            #line default
            #line hidden

            #line 10 "..\..\..\Components\UIFrame.xaml"
                this.uiFrame.Loaded += new System.Windows.RoutedEventHandler(this.uiFrame_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.grFrame = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.recBord = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            case 5:
                this.tmbSize = ((System.Windows.Controls.Primitives.Thumb)(target));

            #line 75 "..\..\..\Components\UIFrame.xaml"
                this.tmbSize.DragCompleted += new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.Thumb_DragCompleted);

            #line default
            #line hidden

            #line 76 "..\..\..\Components\UIFrame.xaml"
                this.tmbSize.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.Thumb_DragDelta_MiddleRight);

            #line default
            #line hidden

            #line 76 "..\..\..\Components\UIFrame.xaml"
                this.tmbSize.DragStarted += new System.Windows.Controls.Primitives.DragStartedEventHandler(this.tmbSize_DragStarted);

            #line default
            #line hidden
                return;

            case 6:
                this.imDropLeft = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.imDropRigth = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.uiFrame = ((LEDX.Components.UiFrame)(target));
     
     #line 8 "..\..\..\Components\UIFrame.xaml"
     this.uiFrame.DragOver += new System.Windows.DragEventHandler(this.grFrame_DragOver);
     
     #line default
     #line hidden
     
     #line 8 "..\..\..\Components\UIFrame.xaml"
     this.uiFrame.Drop += new System.Windows.DragEventHandler(this.grFrame_Drop);
     
     #line default
     #line hidden
     
     #line 8 "..\..\..\Components\UIFrame.xaml"
     this.uiFrame.DragLeave += new System.Windows.DragEventHandler(this.grFrame_DragLeave);
     
     #line default
     #line hidden
     
     #line 9 "..\..\..\Components\UIFrame.xaml"
     this.uiFrame.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.grFrame_PreviewMouseMove);
     
     #line default
     #line hidden
     
     #line 9 "..\..\..\Components\UIFrame.xaml"
     this.uiFrame.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.grFrame_PreviewMouseButtonDown);
     
     #line default
     #line hidden
     
     #line 10 "..\..\..\Components\UIFrame.xaml"
     this.uiFrame.Loaded += new System.Windows.RoutedEventHandler(this.uiFrame_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.grFrame = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.recBord = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 4:
     this.recFill = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 5:
     this.tmbSize = ((System.Windows.Controls.Primitives.Thumb)(target));
     
     #line 75 "..\..\..\Components\UIFrame.xaml"
     this.tmbSize.DragCompleted += new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.Thumb_DragCompleted);
     
     #line default
     #line hidden
     
     #line 76 "..\..\..\Components\UIFrame.xaml"
     this.tmbSize.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.Thumb_DragDelta_MiddleRight);
     
     #line default
     #line hidden
     
     #line 76 "..\..\..\Components\UIFrame.xaml"
     this.tmbSize.DragStarted += new System.Windows.Controls.Primitives.DragStartedEventHandler(this.tmbSize_DragStarted);
     
     #line default
     #line hidden
     return;
     case 6:
     this.imDropLeft = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.imDropRigth = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }