void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.addUsers = ((GloryView.RFID.UserManager.IU.AddUsers)(target));
                return;

            case 2:
                this.commit = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\..\..\UserManager.IU\AddUsers.xaml"
                this.commit.Click += new System.Windows.RoutedEventHandler(this.Submit_AddUser);

            #line default
            #line hidden
                return;

            case 3:
                this.close = ((System.Windows.Controls.Button)(target));

            #line 35 "..\..\..\..\UserManager.IU\AddUsers.xaml"
                this.close.Click += new System.Windows.RoutedEventHandler(this.close_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 7:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.label8 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.account = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 11:
                this.phone = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 13:
                this.password2 = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 14:
                this.userType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 15:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;

            case 16:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.addUsers = ((GloryView.RFID.UserManager.IU.AddUsers)(target));
     return;
     case 2:
     this.commit = ((System.Windows.Controls.Button)(target));
     
     #line 34 "..\..\..\..\UserManager.IU\AddUsers.xaml"
     this.commit.Click += new System.Windows.RoutedEventHandler(this.Submit_AddUser);
     
     #line default
     #line hidden
     return;
     case 3:
     this.close = ((System.Windows.Controls.Button)(target));
     
     #line 35 "..\..\..\..\UserManager.IU\AddUsers.xaml"
     this.close.Click += new System.Windows.RoutedEventHandler(this.close_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.label7 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.label8 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.account = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.userName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.phone = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.password = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 13:
     this.password2 = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 14:
     this.userType = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 15:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 16:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.border1 = ((System.Windows.Controls.Border)(target));
     return;
     }
     this._contentLoaded = true;
 }