void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Coding4Fun.Kinect.Wpf.Controls.HoverButton)(target));
                return;

            case 2:
                this.VisualStateGroup = ((System.Windows.VisualStateGroup)(target));
                return;

            case 3:
                this.Normal = ((System.Windows.VisualState)(target));
                return;

            case 4:
                this.Checked = ((System.Windows.VisualState)(target));
                return;

            case 5:
                this.uxContentHolder = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 7:
                this.uxButtonActiveImage = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.uxRing = ((Microsoft.Expression.Shapes.Arc)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((Coding4Fun.Kinect.Wpf.Controls.HoverButton)(target));
     return;
     case 2:
     this.VisualStateGroup = ((System.Windows.VisualStateGroup)(target));
     return;
     case 3:
     this.Normal = ((System.Windows.VisualState)(target));
     return;
     case 4:
     this.Checked = ((System.Windows.VisualState)(target));
     return;
     case 5:
     this.uxContentHolder = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.uxButtonImage = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.uxButtonActiveImage = ((System.Windows.Controls.Image)(target));
     return;
     case 8:
     this.uxRing = ((Microsoft.Expression.Shapes.Arc)(target));
     return;
     }
     this._contentLoaded = true;
 }