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

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

            case 3:
                this.RBLogIn = ((Microsoft.Surface.Presentation.Controls.SurfaceRadioButton)(target));

            #line 13 "..\..\..\View\UCRButtonLogin.xaml"
                this.RBLogIn.Checked += new System.Windows.RoutedEventHandler(this.RBLogIn_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.RBSignUp = ((Microsoft.Surface.Presentation.Controls.SurfaceRadioButton)(target));

            #line 14 "..\..\..\View\UCRButtonLogin.xaml"
                this.RBSignUp.Checked += new System.Windows.RoutedEventHandler(this.RBSignUp_Checked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((MagicTactilForWindows.UCRButtonLogin)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.RBLogIn = ((Microsoft.Surface.Presentation.Controls.SurfaceRadioButton)(target));
     
     #line 13 "..\..\..\..\View\Authentification\UCRButtonLogin.xaml"
     this.RBLogIn.Checked += new System.Windows.RoutedEventHandler(this.RBLogIn_Checked);
     
     #line default
     #line hidden
     return;
     case 4:
     this.RBSignUp = ((Microsoft.Surface.Presentation.Controls.SurfaceRadioButton)(target));
     
     #line 14 "..\..\..\..\View\Authentification\UCRButtonLogin.xaml"
     this.RBSignUp.Checked += new System.Windows.RoutedEventHandler(this.RBSignUp_Checked);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }