WPF和WindowsForm下的按下Enter跳转下一个控件通用方法
摘要:
WP下按下回车(enter)跳转下一个控件 上代码:protected override void OnKeyDown(KeyEventArgs e) { if (e.Key == Key.Enter) { // MoveFocus takes a TraveralReqest as its argument. TraversalRequest request = new TraversalRequest(FocusNavigationDirection.Next); ... 阅读全文
posted @ 2012-07-02 18:41 我是小虫 阅读(2139) 评论(0) 推荐(0) 编辑