Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.effLigthing = ((LEDX.Components.Effects.LigthImitationEffect)(target));
                return;

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

            case 3:
                this.clAni = ((System.Windows.Media.Animation.ColorAnimationUsingKeyFrames)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.effLigthing = ((LEDX.Components.Effects.LigthImitationEffect)(target));
     return;
     case 2:
     this.sBrd = ((System.Windows.Media.Animation.Storyboard)(target));
     return;
     case 3:
     this.clAni = ((System.Windows.Media.Animation.ColorAnimationUsingKeyFrames)(target));
     return;
     }
     this._contentLoaded = true;
 }