如果发生这种事件,而且关联的事件处理常式中有程序码,就会叫用此程序码。
If one of these events occurs and there is code in the associated event handler, that code is invoked.
不过,您可以在事件处理常式方法中修改配置,而这代表配置会在呈现之前再计算一次。
However, you can modify layout in your event handler method, which means that layout will be computed once more before rendering.
在[设计]检视中,选取您要建立事件处理常式的控制项。
In Design view, select the control that you want to create an event handler for.
应用推荐