Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.myLoginViewModel = ((_2019_9_3_Dating_app_XAML_.ViewModels.LoginViewModel)(target));
                return;

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

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

            #line 39 "..\..\Login.xaml"
                this.txtBoxEmail.AddHandler(System.Windows.ContentElement.TextInputEvent, new System.Windows.Input.TextCompositionEventHandler(this.TextBox_TextInputEmail));

            #line default
            #line hidden
                return;

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

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

            #line 56 "..\..\Login.xaml"
                this.txtBoxUserPassword.AddHandler(System.Windows.ContentElement.TextInputEvent, new System.Windows.Input.TextCompositionEventHandler(this.TextBox_TextInputPassword));

            #line default
            #line hidden
                return;

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

            #line 73 "..\..\Login.xaml"
                this.btnLogin.Click += new System.Windows.RoutedEventHandler(this.BtnLogin_Click);

            #line default
            #line hidden
                return;

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

            #line 82 "..\..\Login.xaml"
                this.btnCreateAccount.Click += new System.Windows.RoutedEventHandler(this.BtnCreateAccount_Click);

            #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.myLoginViewModel = ((_2019_9_3_Dating_app_XAML_.ViewModels.LoginViewModel)(target));
                return;

            case 2:
                this.lblMessage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.lblEmail = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.txtBoxEmail = ((System.Windows.Controls.TextBox)(target));

            #line 41 "..\..\..\Views\ConfimWithLogin.xaml"
                this.txtBoxEmail.AddHandler(System.Windows.ContentElement.TextInputEvent, new System.Windows.Input.TextCompositionEventHandler(this.txtBoxEmail_TextInput));

            #line default
            #line hidden
                return;

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

            case 6:
                this.passBoxPassword = ((System.Windows.Controls.PasswordBox)(target));

            #line 57 "..\..\..\Views\ConfimWithLogin.xaml"
                this.passBoxPassword.AddHandler(System.Windows.ContentElement.TextInputEvent, new System.Windows.Input.TextCompositionEventHandler(this.passBoxPassword_TextInput));

            #line default
            #line hidden
                return;

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

            #line 74 "..\..\..\Views\ConfimWithLogin.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;

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

            #line 83 "..\..\..\Views\ConfimWithLogin.xaml"
                this.btnConfirm.Click += new System.Windows.RoutedEventHandler(this.btnConfirm_Click);

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