Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PasswordTextBox = ((CourseProj.UserControls.BindableWatermarkPasswordBox)(target));
                return;

            case 2:
                this.RegistryButton = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MailTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 90 "..\..\..\..\..\MVVM\Views\RegisteryView.xaml"
                this.MailTextBox.LostFocus += new System.Windows.RoutedEventHandler(this.MailTextBox_OnLostFocus);

            #line default
            #line hidden
                return;

            case 2:
                this.PasswordTextBox = ((CourseProj.UserControls.BindableWatermarkPasswordBox)(target));
                return;

            case 3:
                this.ConfirmPasswordTextBox = ((CourseProj.UserControls.BindableWatermarkPasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }