Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RegisterWindow = ((HotelManager.Authentication.Register)(target));

            #line 4 "..\..\..\Authentication\Register.xaml"
                this.RegisterWindow.Closed += new System.EventHandler(this.RegisterWindow_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.lblLogin = ((System.Windows.Controls.Label)(target));

            #line 35 "..\..\..\Authentication\Register.xaml"
                this.lblLogin.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.lblLogin_MouseDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RegisterWindow = ((HotelManager.Authentication.Register)(target));

            #line 4 "..\..\..\..\Windows\Authentication\Register.xaml"
                this.RegisterWindow.Closed += new System.EventHandler(this.RegisterWindow_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.txtUsername = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.txtPassword1 = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

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

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

            case 7:
                this.txtIdCard = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.txtPhone = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 10:
                this.btnRegister = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\..\..\Windows\Authentication\Register.xaml"
                this.btnRegister.Click += new System.Windows.RoutedEventHandler(this.btnRegister_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.lblLogin = ((System.Windows.Controls.Label)(target));

            #line 35 "..\..\..\..\Windows\Authentication\Register.xaml"
                this.lblLogin.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.lblLogin_MouseDown);

            #line default
            #line hidden
                return;

            case 12:
                this.lblStatus = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }