Esempio n. 1
0
        private void SignUpLink_OnMouseDown(object sender, MouseButtonEventArgs e)
        {
            IsSwap = true;
            SignUpWindow window = new SignUpWindow(mainWindow);

            window.Show();
            window.Activate();
            this.Close();
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SignUpForm = ((RealtIt.SignUpWindow)(target));

            #line 8 "..\..\SignUpWindow.xaml"
                this.SignUpForm.Deactivated += new System.EventHandler(this.SignUpWindow_OnDeactivated);

            #line default
            #line hidden

            #line 8 "..\..\SignUpWindow.xaml"
                this.SignUpForm.Activated += new System.EventHandler(this.SignUpWindow_OnActivated);

            #line default
            #line hidden
                return;

            case 2:
                this.CloseLink = ((System.Windows.Controls.Image)(target));

            #line 48 "..\..\SignUpWindow.xaml"
                this.CloseLink.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.CloseLink_OnMouseDown);

            #line default
            #line hidden
                return;

            case 3:
                this.RegButton = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\SignUpWindow.xaml"
                this.RegButton.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.RegButton_OnMouseDown);

            #line default
            #line hidden
                return;

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

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

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

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

            case 8:
                this.PassBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 9:
                this.LogInLink = ((System.Windows.Controls.Image)(target));

            #line 74 "..\..\SignUpWindow.xaml"
                this.LogInLink.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.LogInLink_OnMouseDown);

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