Esempio n. 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.window = ((ProjectEnlightenment.UI.UserCreation)(target));
     return;
     case 2:
     this.grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.userName = ((System.Windows.Controls.TextBox)(target));
     
     #line 41 "..\..\..\..\UI\UserCreation.xaml"
     this.userName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.userName_TextChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.password = ((System.Windows.Controls.PasswordBox)(target));
     
     #line 44 "..\..\..\..\UI\UserCreation.xaml"
     this.password.PasswordChanged += new System.Windows.RoutedEventHandler(this.password_PasswordChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.repassword = ((System.Windows.Controls.PasswordBox)(target));
     
     #line 45 "..\..\..\..\UI\UserCreation.xaml"
     this.repassword.PasswordChanged += new System.Windows.RoutedEventHandler(this.repassword_PasswordChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.isAdminCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 7:
     this.createUserButton = ((System.Windows.Controls.Button)(target));
     
     #line 47 "..\..\..\..\UI\UserCreation.xaml"
     this.createUserButton.Click += new System.Windows.RoutedEventHandler(this.createUserButton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.backButton = ((System.Windows.Controls.Button)(target));
     
     #line 48 "..\..\..\..\UI\UserCreation.xaml"
     this.backButton.Click += new System.Windows.RoutedEventHandler(this.backButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((ProjectEnlightenment.UI.UserCreation)(target));
                return;

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

            case 3:
                this.userName = ((System.Windows.Controls.TextBox)(target));

            #line 41 "..\..\..\..\UI\UserCreation.xaml"
                this.userName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.userName_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.password = ((System.Windows.Controls.PasswordBox)(target));

            #line 44 "..\..\..\..\UI\UserCreation.xaml"
                this.password.PasswordChanged += new System.Windows.RoutedEventHandler(this.password_PasswordChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.repassword = ((System.Windows.Controls.PasswordBox)(target));

            #line 45 "..\..\..\..\UI\UserCreation.xaml"
                this.repassword.PasswordChanged += new System.Windows.RoutedEventHandler(this.repassword_PasswordChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.isAdminCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 47 "..\..\..\..\UI\UserCreation.xaml"
                this.createUserButton.Click += new System.Windows.RoutedEventHandler(this.createUserButton_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.backButton = ((System.Windows.Controls.Button)(target));

            #line 48 "..\..\..\..\UI\UserCreation.xaml"
                this.backButton.Click += new System.Windows.RoutedEventHandler(this.backButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }