Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((WPFPageSwitch.Login)(target));
                return;

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

            case 3:
                this.pageTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.usernameTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.passwordTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.usernameTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.loginButton = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\..\Menu\Login.xaml"
                this.loginButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((WPFPageSwitch.Login)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.usernameTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.passwordTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.usernameTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.loginButton = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     
     #line 16 "..\..\..\Menu\Login.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
     return;
     }
     this._contentLoaded = true;
 }