EventAnaysis
2016-12-19 16:01:12 1 举报
Event C#
作者其他创作
大纲/内容
Register Method
Real Method
public EventReceiver(KeyInputMonitor monitor) { monitor.KeyDown += new KeyInputMonitor.KeyDownHandler(this.OnKeyDown); }
Run()
携带路由的信息参数
Define
classKeyInputMonitor
event Run
delegate: KeyDownHandlerevent: KeyDownHandler KeyDown
KeyDown+=new
internal class KeyEventArgs : EventArgs { private char keyChar; public char KeyChar { get { return keyChar; } } public KeyEventArgs(char keyChar) : base() { this.keyChar = keyChar; } }
classEventReceiver
OnKeyDown()
KeyEventArgs :
收藏
0 条评论
下一页
为你推荐
查看更多
抱歉,暂无相关内容