08 2005 档案

摘要:前阵子写了个UserControl, 需要处理Arrow keys.( Up, Down, Left, Right). 但是这四个键属于DialogKey,有两种解决方案可以使得UserControl在OnKeyDown中处理这四个键。 方案一: 重载ProcessDialogKey。 protected override bool ProcessDialogKey(Keys key... 阅读全文

posted @ 2005-08-29 13:21 Vitoria 阅读 (472) | 评论 (0) 编辑 |

posts - 19, comments - 59, trackbacks - 0, articles - 0

Copyright © 2019 Vitoria
Powered by .NET Core 3.1.0 on Linux