コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.me = ((Samples.FancyBalloon)(target));
                return;

            case 2:

            #line 36 "..\..\..\Showcase\FancyBalloon.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.OnFadeOutCompleted);

            #line default
            #line hidden
                return;

            case 3:
                this.FadeIn_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 4:
                this.HighlightCloseButton_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 5:
                this.FadeCloseButton_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 6:
                this.FadeBack_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 7:
                this.FadeOut_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 8:
                this.grid = ((System.Windows.Controls.Grid)(target));

            #line 61 "..\..\..\Showcase\FancyBalloon.xaml"
                this.grid.MouseEnter += new System.Windows.Input.MouseEventHandler(this.grid_MouseEnter);

            #line default
            #line hidden
                return;

            case 9:
                this.imgClose = ((System.Windows.Controls.Image)(target));

            #line 115 "..\..\..\Showcase\FancyBalloon.xaml"
                this.imgClose.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.imgClose_MouseDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.me = ((Samples.FancyBalloon)(target));
                return;

            case 2:

            #line 35 "..\..\..\Dialogs\FancyBalloon.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.OnFadeOutCompleted);

            #line default
            #line hidden
                return;

            case 3:
                this.FadeIn_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 4:
                this.FadeBack_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 5:
                this.FadeOut_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 6:
                this.grid = ((System.Windows.Controls.Grid)(target));

            #line 62 "..\..\..\Dialogs\FancyBalloon.xaml"
                this.grid.MouseEnter += new System.Windows.Input.MouseEventHandler(this.grid_MouseEnter);

            #line default
            #line hidden
                return;

            case 7:
                this.block = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.closePopup = ((System.Windows.Controls.Button)(target));

            #line 101 "..\..\..\Dialogs\FancyBalloon.xaml"
                this.closePopup.Click += new System.Windows.RoutedEventHandler(this.closePopup_OnClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.me = ((Samples.FancyBalloon)(target));
     return;
     case 2:
     
     #line 36 "..\..\..\Showcase\FancyBalloon.xaml"
     ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.OnFadeOutCompleted);
     
     #line default
     #line hidden
     return;
     case 3:
     this.FadeIn_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 4:
     this.HighlightCloseButton_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 5:
     this.FadeCloseButton_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 6:
     this.FadeBack_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 7:
     this.FadeOut_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 8:
     this.grid = ((System.Windows.Controls.Grid)(target));
     
     #line 61 "..\..\..\Showcase\FancyBalloon.xaml"
     this.grid.MouseEnter += new System.Windows.Input.MouseEventHandler(this.grid_MouseEnter);
     
     #line default
     #line hidden
     return;
     case 9:
     this.imgClose = ((System.Windows.Controls.Image)(target));
     
     #line 115 "..\..\..\Showcase\FancyBalloon.xaml"
     this.imgClose.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.imgClose_MouseDown);
     
     #line default
     #line hidden
     
     #line 115 "..\..\..\Showcase\FancyBalloon.xaml"
     this.imgClose.ImageFailed += new System.EventHandler<System.Windows.ExceptionRoutedEventArgs>(this.imgClose_ImageFailed);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }