使用者介面应用程序中的一些常见事件范例,像是利用使用者动作(例如按一下按钮)执行程序码区段。
Some common examples of events are found in user interface applications where a user action such as clicking a button causes a segment of code to execute.
为确认回呼事件是来自预期的使用者介面(UI),您可以验证回呼。
To ensure that callback events originate from the expected user interface (UI), you can validate callbacks.
启用与使用者介面互动的背景工作,透过使用者介面执行绪上引发的事件来沟通。
Enables background tasks that interact with the user interface, communicating via events raised on the user-interface thread.
使用者介面执行绪通常是用来处理使用者输入并回应使用者所产生的事件和讯息。
User-interface threads are commonly used to handle user input and respond to events and messages generated by the user.
使用者介面执行绪通常用来处理使用者输入和回应与执行绪没有关系之执行应用程序其他部分的使用者事件。
A user-interface thread is commonly used to handle user input and respond to user events independently of threads executing other portions of the application.
这是附加事件 (使用通道路由策略),目的让采用输入的现有使用者介面 (UI) 项目可透过附加事件语法来参考。
This is an attached event (using tunneling routing strategy) that is intended through attached event syntax to be referenced by existing user interface (UI) elements that take input.
下列范例会示范如何处理一个较不常见的状况,也就是您的类别继承自两个或多个介面,而每一个介面都有一个同名的事件。
The following example shows how to handle the less-common situation in which your class inherits from two or more interfaces and each interface has an event with the same name.
定义的介面会公开表单区域的事件使用的方法。
Defines an interface that exposes methods that are used by the events of the form region.
定义的介面会公开表单区域的事件使用的方法。
Defines an interface that exposes methods that are used by the events of the form region.
应用推荐