Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Exit = ((RoomManage.PwdExit)(target));
                return;

            case 2:
                this.Apply = ((System.Windows.Controls.Button)(target));

            #line 10 "..\..\PwdExit.xaml"
                this.Apply.Click += new System.Windows.RoutedEventHandler(this.Button_Clicked);

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\PwdExit.xaml"
                this.Cancle.Click += new System.Windows.RoutedEventHandler(this.Button_Clicked);

            #line default
            #line hidden
                return;

            case 4:
                this.PwdEidt = ((System.Windows.Controls.PasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        // 点击退出,显示密码输入
        private void Exit_Click(object sender, EventArgs e)
        {
            PwdExit pwdExit = new PwdExit();

            pwdExit.ShowDialog();
        }