WPF KeyUp for enter key in main window after messagebox 使用keyup事件获取键盘"回车"操作,判断并弹出消息框,回车关闭消息框,它再次弹出
http://social.msdn.microsoft.com/forums/en-US/wpf/thread/4c404667-e766-4e5c-9116-a78febbc29d8 Thisiscorrectbehaviour.Buttonsrespondtotheenterkeybeingpressed,notreleased,sothemessageboxisdismissedassoo