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

            case 2:
                this.ProfileButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;

            case 3:
                this.HomeButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;

            case 4:
                this.LogoButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;

            case 5:
                this.friendButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 73 "..\..\..\View\InnerBoard.xaml"
                this.friendButton.Click += new System.Windows.RoutedEventHandler(this.friendButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.FriendList = ((MagicTactilForWindows.UCFriendList)(target));
                return;

            case 7:
                this.RoomButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;

            case 8:
                this.DecksButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.DisconectButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 2:
     this.ProfileButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 3:
     this.HomeButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 4:
     this.LogoButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 5:
     this.friendButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 61 "..\..\..\View\InnerBoard.xaml"
     this.friendButton.Click += new System.Windows.RoutedEventHandler(this.friendButton_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.FriendList = ((MagicTactilForWindows.UCFriendList)(target));
     return;
     case 7:
     this.talkListBox = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));
     return;
     }
     this._contentLoaded = true;
 }