Ejemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.zuneShell = ((tscui.tscuiWindow)(target));
     
     #line 13 "..\..\tscuiWindow.xaml"
     this.zuneShell.Closed += new System.EventHandler(this.zuneShell_Closed);
     
     #line default
     #line hidden
     
     #line 13 "..\..\tscuiWindow.xaml"
     this.zuneShell.Closing += new System.ComponentModel.CancelEventHandler(this.zuneShell_Closing);
     
     #line default
     #line hidden
     
     #line 13 "..\..\tscuiWindow.xaml"
     this.zuneShell.Activated += new System.EventHandler(this.zuneShell_Activated);
     
     #line default
     #line hidden
     return;
     case 2:
     this.thumbTopLeft = ((System.Windows.Controls.Primitives.Thumb)(target));
     
     #line 45 "..\..\tscuiWindow.xaml"
     this.thumbTopLeft.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.thumbTopLeft_DragDelta);
     
     #line default
     #line hidden
     return;
     case 3:
     this.thumbTop = ((System.Windows.Controls.Primitives.Thumb)(target));
     
     #line 53 "..\..\tscuiWindow.xaml"
     this.thumbTop.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.thumbTop_DragDelta);
     
     #line default
     #line hidden
     return;
     case 4:
     this.thumbTopRight = ((System.Windows.Controls.Primitives.Thumb)(target));
     
     #line 62 "..\..\tscuiWindow.xaml"
     this.thumbTopRight.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.thumbTopRight_DragDelta);
     
     #line default
     #line hidden
     return;
     case 5:
     this.thumbLeft = ((System.Windows.Controls.Primitives.Thumb)(target));
     
     #line 70 "..\..\tscuiWindow.xaml"
     this.thumbLeft.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.thumbLeft_DragDelta);
     
     #line default
     #line hidden
     return;
     case 6:
     this.thumbRight = ((System.Windows.Controls.Primitives.Thumb)(target));
     
     #line 78 "..\..\tscuiWindow.xaml"
     this.thumbRight.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.thumbRight_DragDelta);
     
     #line default
     #line hidden
     return;
     case 7:
     this.thumbBottomLeft = ((System.Windows.Controls.Primitives.Thumb)(target));
     
     #line 87 "..\..\tscuiWindow.xaml"
     this.thumbBottomLeft.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.thumbBottomLeft_DragDelta);
     
     #line default
     #line hidden
     return;
     case 8:
     this.thumbBottom = ((System.Windows.Controls.Primitives.Thumb)(target));
     
     #line 95 "..\..\tscuiWindow.xaml"
     this.thumbBottom.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.thumbBottom_DragDelta);
     
     #line default
     #line hidden
     return;
     case 9:
     this.thumbBottomRight = ((System.Windows.Controls.Primitives.Thumb)(target));
     
     #line 104 "..\..\tscuiWindow.xaml"
     this.thumbBottomRight.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.thumbBottomRight_DragDelta);
     
     #line default
     #line hidden
     return;
     case 10:
     this.borderWindowTitle = ((System.Windows.Controls.Border)(target));
     
     #line 111 "..\..\tscuiWindow.xaml"
     this.borderWindowTitle.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.borderWindowTitle_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 11:
     this.minimizeButton = ((Apex.Controls.ImageButton)(target));
     
     #line 123 "..\..\tscuiWindow.xaml"
     this.minimizeButton.Click += new System.Windows.RoutedEventHandler(this.minimizeButton_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.restoreButton = ((Apex.Controls.ImageButton)(target));
     
     #line 132 "..\..\tscuiWindow.xaml"
     this.restoreButton.Click += new System.Windows.RoutedEventHandler(this.restoreButton_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.maximizeButton = ((Apex.Controls.ImageButton)(target));
     
     #line 141 "..\..\tscuiWindow.xaml"
     this.maximizeButton.Click += new System.Windows.RoutedEventHandler(this.maximizeButton_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.closeButton = ((Apex.Controls.ImageButton)(target));
     
     #line 150 "..\..\tscuiWindow.xaml"
     this.closeButton.Click += new System.Windows.RoutedEventHandler(this.closeButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.zuneShell = ((tscui.tscuiWindow)(target));

            #line 13 "..\..\tscuiWindow.xaml"
                this.zuneShell.Closed += new System.EventHandler(this.zuneShell_Closed);

            #line default
            #line hidden

            #line 13 "..\..\tscuiWindow.xaml"
                this.zuneShell.Closing += new System.ComponentModel.CancelEventHandler(this.zuneShell_Closing);

            #line default
            #line hidden

            #line 13 "..\..\tscuiWindow.xaml"
                this.zuneShell.Activated += new System.EventHandler(this.zuneShell_Activated);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\tscuiWindow.xaml"
                this.thumbTopLeft.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.thumbTopLeft_DragDelta);

            #line default
            #line hidden
                return;

            case 3:
                this.thumbTop = ((System.Windows.Controls.Primitives.Thumb)(target));

            #line 53 "..\..\tscuiWindow.xaml"
                this.thumbTop.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.thumbTop_DragDelta);

            #line default
            #line hidden
                return;

            case 4:
                this.thumbTopRight = ((System.Windows.Controls.Primitives.Thumb)(target));

            #line 62 "..\..\tscuiWindow.xaml"
                this.thumbTopRight.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.thumbTopRight_DragDelta);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\tscuiWindow.xaml"
                this.thumbLeft.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.thumbLeft_DragDelta);

            #line default
            #line hidden
                return;

            case 6:
                this.thumbRight = ((System.Windows.Controls.Primitives.Thumb)(target));

            #line 78 "..\..\tscuiWindow.xaml"
                this.thumbRight.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.thumbRight_DragDelta);

            #line default
            #line hidden
                return;

            case 7:
                this.thumbBottomLeft = ((System.Windows.Controls.Primitives.Thumb)(target));

            #line 87 "..\..\tscuiWindow.xaml"
                this.thumbBottomLeft.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.thumbBottomLeft_DragDelta);

            #line default
            #line hidden
                return;

            case 8:
                this.thumbBottom = ((System.Windows.Controls.Primitives.Thumb)(target));

            #line 95 "..\..\tscuiWindow.xaml"
                this.thumbBottom.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.thumbBottom_DragDelta);

            #line default
            #line hidden
                return;

            case 9:
                this.thumbBottomRight = ((System.Windows.Controls.Primitives.Thumb)(target));

            #line 104 "..\..\tscuiWindow.xaml"
                this.thumbBottomRight.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.thumbBottomRight_DragDelta);

            #line default
            #line hidden
                return;

            case 10:
                this.borderWindowTitle = ((System.Windows.Controls.Border)(target));

            #line 111 "..\..\tscuiWindow.xaml"
                this.borderWindowTitle.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.borderWindowTitle_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 11:
                this.minimizeButton = ((Apex.Controls.ImageButton)(target));

            #line 123 "..\..\tscuiWindow.xaml"
                this.minimizeButton.Click += new System.Windows.RoutedEventHandler(this.minimizeButton_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.restoreButton = ((Apex.Controls.ImageButton)(target));

            #line 132 "..\..\tscuiWindow.xaml"
                this.restoreButton.Click += new System.Windows.RoutedEventHandler(this.restoreButton_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.maximizeButton = ((Apex.Controls.ImageButton)(target));

            #line 141 "..\..\tscuiWindow.xaml"
                this.maximizeButton.Click += new System.Windows.RoutedEventHandler(this.maximizeButton_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.closeButton = ((Apex.Controls.ImageButton)(target));

            #line 150 "..\..\tscuiWindow.xaml"
                this.closeButton.Click += new System.Windows.RoutedEventHandler(this.closeButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }