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

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

            case 6:

            #line 58 "..\..\..\..\View\Friend\UCFriendList.xaml"
                ((Microsoft.Surface.Presentation.Controls.SurfaceRadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.SurfaceRadioButton_Checked);

            #line default
            #line hidden
                return;

            case 7:

            #line 59 "..\..\..\..\View\Friend\UCFriendList.xaml"
                ((Microsoft.Surface.Presentation.Controls.SurfaceRadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.SurfaceRadioButton_Checked_1);

            #line default
            #line hidden
                return;

            case 8:
                this.friendListBox = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((MagicTactilForWindows.UCFriendList)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     
     #line 18 "..\..\..\View\UCFriendList.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceRadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.SurfaceRadioButton_Checked);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 19 "..\..\..\View\UCFriendList.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceRadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.SurfaceRadioButton_Checked_1);
     
     #line default
     #line hidden
     return;
     case 5:
     this.friendListBox = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));
     return;
     }
     this._contentLoaded = true;
 }