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

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

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

            case 4:
                this.NameBox = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
                return;

            case 5:
                this.UsernameLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.PasswordLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.SurfacePasswordBox = ((Microsoft.Surface.Presentation.Controls.SurfacePasswordBox)(target));

            #line 22 "..\..\..\View\UCLog.xaml"
                this.SurfacePasswordBox.PasswordChanged += new System.Windows.RoutedEventHandler(this.SurfacePasswordBox_PasswordChanged);

            #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.UCReg)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.ConnectButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 4:
     this.EmailBox = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 5:
     this.NameBox = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 6:
     this.PasswordBox = ((Microsoft.Surface.Presentation.Controls.SurfacePasswordBox)(target));
     
     #line 25 "..\..\..\View\UCReg.xaml"
     this.PasswordBox.PasswordChanged += new System.Windows.RoutedEventHandler(this.PasswordBox_PasswordChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.UsernameLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.confirmPassbox = ((Microsoft.Surface.Presentation.Controls.SurfacePasswordBox)(target));
     
     #line 30 "..\..\..\View\UCReg.xaml"
     this.confirmPassbox.PasswordChanged += new System.Windows.RoutedEventHandler(this.confirmPassbox_PasswordChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }