Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LeaveButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;

            case 2:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.uCChatBox1 = ((MagicTactilForWindows.UCChatBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.LeaveButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 2:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.uCChatBox1 = ((MagicTactilForWindows.UCChatBox)(target));
     return;
     }
     this._contentLoaded = true;
 }