コード例 #1
0
        private void LogInLink_OnMouseDown(object sender, MouseButtonEventArgs e)
        {
            IsSwap = true;
            LogInWindow window = new LogInWindow(mainWindow);

            window.Show();
            window.Activate();
            this.Close();
        }
コード例 #2
0
ファイル: LogInWindow.g.i.cs プロジェクト: YoGa-jpg/RealtIt
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LogInForm = ((RealtIt.LogInWindow)(target));

            #line 8 "..\..\LogInWindow.xaml"
                this.LogInForm.Deactivated += new System.EventHandler(this.LogInWindow_OnDeactivated);

            #line default
            #line hidden

            #line 8 "..\..\LogInWindow.xaml"
                this.LogInForm.Activated += new System.EventHandler(this.LogInWindow_OnActivated);

            #line default
            #line hidden

            #line 8 "..\..\LogInWindow.xaml"
                this.LogInForm.Closed += new System.EventHandler(this.LogInForm_Closed);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\LogInWindow.xaml"
                this.LogInButton.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.LogInButton_OnPreviewMouseDown);

            #line default
            #line hidden
                return;

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

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

            case 6:
                this.SignUpLink = ((System.Windows.Controls.Image)(target));

            #line 57 "..\..\LogInWindow.xaml"
                this.SignUpLink.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SignUpLink_OnMouseDown);

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