You can create an event handler by using the Events TAB of the Properties window.
在属性窗体创建事件处理代码的方法是点击事件标签。
Your window procedure is the event handler.
窗口过程就是事件处理器。
The tag shown below creates a Window object whose onx event is wired to the event handler myHandler.
下面显示的标记创建一个Window对象,它的onx事件与事件处理程序myhandler相关联。
应用推荐