Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((DesktopClient.Menu.Register)(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.password1TextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 6:
                this.registerButton = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.password2TextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:

            #line 16 "..\..\..\..\Menu\Register.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.passwordBox1 = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 10:
                this.passwordBox2 = ((System.Windows.Controls.PasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((DesktopClient.Menu.Register)(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.password1TextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.usernameTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.registerButton = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.password2TextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     
     #line 16 "..\..\..\..\Menu\Register.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.passwordBox1 = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 10:
     this.passwordBox2 = ((System.Windows.Controls.PasswordBox)(target));
     return;
     }
     this._contentLoaded = true;
 }