void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ViewModel = ((SiCuAstaPasta.ViewModels.LoginAndRegisterViewModel)(target));
                return;

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

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

            case 4:

            #line 50 "..\..\..\Views\LoginView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Login_OnClick);

            #line default
            #line hidden
                return;

            case 5:

            #line 51 "..\..\..\Views\LoginView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Register_OnClick);

            #line default
            #line hidden
                return;

            case 6:

            #line 52 "..\..\..\Views\LoginView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Continue_OnClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ViewModel = ((SiCuAstaPasta.ViewModels.LoginAndRegisterViewModel)(target));
                return;

            case 2:

            #line 29 "..\..\..\Views\RegisterView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Inapoi_OnClick);

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