Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.windowHelper = ((nsync.HelperWindow)(target));
                return;

            case 2:
                this.FormFade = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 3:
                this.FormFadeAnimation = ((System.Windows.Media.Animation.DoubleAnimation)(target));
                return;

            case 4:
                this.FormFadeOut = ((System.Windows.Media.Animation.Storyboard)(target));

            #line 33 "..\..\HelperWindow.xaml"
                this.FormFadeOut.Completed += new System.EventHandler(this.FormFadeOut_Completed);

            #line default
            #line hidden
                return;

            case 5:
                this.FormFadeOutAnimation = ((System.Windows.Media.Animation.DoubleAnimation)(target));
                return;

            case 6:

            #line 48 "..\..\HelperWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.windowHelper_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 7:
                this.ButtonClose = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\HelperWindow.xaml"
                this.ButtonClose.Click += new System.Windows.RoutedEventHandler(this.ButtonClose_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.ContentText = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.windowHelper = ((nsync.HelperWindow)(target));
     return;
     case 2:
     this.FormFade = ((System.Windows.Media.Animation.Storyboard)(target));
     return;
     case 3:
     this.FormFadeAnimation = ((System.Windows.Media.Animation.DoubleAnimation)(target));
     return;
     case 4:
     this.FormFadeOut = ((System.Windows.Media.Animation.Storyboard)(target));
     
     #line 21 "..\..\HelperWindow.xaml"
     this.FormFadeOut.Completed += new System.EventHandler(this.FormFadeOut_Completed);
     
     #line default
     #line hidden
     return;
     case 5:
     this.FormFadeOutAnimation = ((System.Windows.Media.Animation.DoubleAnimation)(target));
     return;
     case 6:
     
     #line 36 "..\..\HelperWindow.xaml"
     ((System.Windows.Controls.Border)(target)).MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.windowHelper_MouseRightButtonDown);
     
     #line default
     #line hidden
     
     #line 36 "..\..\HelperWindow.xaml"
     ((System.Windows.Controls.Border)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Border_MouseEnter);
     
     #line default
     #line hidden
     
     #line 36 "..\..\HelperWindow.xaml"
     ((System.Windows.Controls.Border)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.Border_MouseLeave);
     
     #line default
     #line hidden
     return;
     case 7:
     this.ButtonClose = ((System.Windows.Controls.Button)(target));
     
     #line 38 "..\..\HelperWindow.xaml"
     this.ButtonClose.Click += new System.Windows.RoutedEventHandler(this.ButtonClose_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.ContentText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.HyperLinkText = ((System.Windows.Controls.TextBlock)(target));
     
     #line 41 "..\..\HelperWindow.xaml"
     this.HyperLinkText.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.HyperLinkText_MouseDown);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }