每个控件都有响应用户操作的事件。
Each control has events that enable you to respond to actions from the user.
例如,您可以向功能区中添加控件、可以显示操作窗格,并且可以创建对用户在文档中键入的特定字符串进行响应的智能标记。
For example, you can add controls to the Ribbon, you can display an actions pane, and you can create smart tags that respond to specific strings that users type in the document.
在的子控件的变化(响应用户操作)的状态下,通过捕捉那些发送一些通知消息到它的父窗口,父窗口消息,执行操作。
When the state of a child control changes (in response to a user action), it sends some notification messages to it's parent window, and parent window by catching those messages, performs actions.
应用推荐