Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.sliderRotation = ((USB_GUI.SliderRotation)(target));
                return;

            case 2:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.ellipseBack = ((System.Windows.Shapes.Ellipse)(target));

            #line 8 "..\..\SliderRotation.xaml"
                this.ellipseBack.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ellipseBack_MouseLeave);

            #line default
            #line hidden

            #line 8 "..\..\SliderRotation.xaml"
                this.ellipseBack.MouseMove += new System.Windows.Input.MouseEventHandler(this.ellipseBack_MouseMove);

            #line default
            #line hidden

            #line 8 "..\..\SliderRotation.xaml"
                this.ellipseBack.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.ellipseBack_MouseUp);

            #line default
            #line hidden

            #line 8 "..\..\SliderRotation.xaml"
                this.ellipseBack.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ellipseBack_MouseDown);

            #line default
            #line hidden
                return;

            case 4:
                this.handle = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 5:
                this.rotate = ((System.Windows.Media.RotateTransform)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.sliderRotation = ((USB_GUI.SliderRotation)(target));
     return;
     case 2:
     this.canvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.ellipseBack = ((System.Windows.Shapes.Ellipse)(target));
     
     #line 8 "..\..\SliderRotation.xaml"
     this.ellipseBack.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ellipseBack_MouseLeave);
     
     #line default
     #line hidden
     
     #line 8 "..\..\SliderRotation.xaml"
     this.ellipseBack.MouseMove += new System.Windows.Input.MouseEventHandler(this.ellipseBack_MouseMove);
     
     #line default
     #line hidden
     
     #line 8 "..\..\SliderRotation.xaml"
     this.ellipseBack.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.ellipseBack_MouseUp);
     
     #line default
     #line hidden
     
     #line 8 "..\..\SliderRotation.xaml"
     this.ellipseBack.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ellipseBack_MouseDown);
     
     #line default
     #line hidden
     return;
     case 4:
     this.handle = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 5:
     this.rotate = ((System.Windows.Media.RotateTransform)(target));
     return;
     }
     this._contentLoaded = true;
 }