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

            case 2:

            #line 54 "..\..\..\Views\InregistrareView.xaml"
                ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 3:

            #line 64 "..\..\..\Views\InregistrareView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.InapoiClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ViewModel = ((SiCuAstaPasta.ViewModels.InregistrareConectareViewModel)(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 65 "..\..\..\Views\ConectareView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ConectareClick);

            #line default
            #line hidden
                return;

            case 5:

            #line 66 "..\..\..\Views\ConectareView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.IngregistrareClick);

            #line default
            #line hidden
                return;

            case 6:

            #line 67 "..\..\..\Views\ConectareView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ContinuareClick);

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