考虑到这一点,从命令行程序创建任意警报事件会更好,这些事件将执行程序或显示消息。
With that in mind, it would be nice to be able to create arbitrary alarm events from a command-line program, which would execute programs or display messages.
尤其是SAX事件处理程序特别重要的一部分是致力于跟踪解析器已在文档中的执行程度。
In particular, a significant portion of a SAX event handler is devoted to tracking how far the parser has gone in the document.
使用者介面应用程序中的一些常见事件范例,像是利用使用者动作(例如按一下按钮)执行程序码区段。
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.
应用推荐