void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.me = ((Samples.FancyToolTip)(target));
                return;

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

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

            case 4:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.border = ((System.Windows.Controls.Border)(target));
                return;

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

            case 7:
                this.txtToolTipDetail = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.txtToolTipDetail_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.me = ((Samples.FancyToolTip)(target));
     return;
     case 2:
     this.FadeIn_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.FadeOut_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 4:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.border = ((System.Windows.Controls.Border)(target));
     return;
     case 6:
     this.image = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.txtToolTipDetail = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.txtToolTipDetail_Copy = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }