Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.player = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 2:
                this.background = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.leftImage = ((System.Windows.Controls.Image)(target));
                return;

            case 4:
                this.centerImage = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.rightImage = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.messageBox = ((Iris.Framework.MessageBox)(target));
                return;

            case 7:
                this.inputBox = ((Iris.Framework.InputBox)(target));
                return;

            case 8:
                this.menuBox = ((Iris.Framework.MenuBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.player = ((System.Windows.Controls.MediaElement)(target));
     return;
     case 2:
     this.background = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     this.leftImage = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.centerImage = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.rightImage = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.messageBox = ((Iris.Framework.MessageBox)(target));
     return;
     case 7:
     this.inputBox = ((Iris.Framework.InputBox)(target));
     return;
     case 8:
     this.menuBox = ((Iris.Framework.MenuBox)(target));
     return;
     }
     this._contentLoaded = true;
 }