常見例句雙語例句It provides an event handler for each menu option.它為每一個菜單選項提供事件處理程序。If the global scope requires the result of the event handler, set the result in the global result variable.如果全局范圍要求使用事件處理程序的結(jié)果,請在全局結(jié)果變量中設(shè)置該結(jié)果。To see why, imagine you have a button in your application. You want to do some work when the button is clicked, so you add an event handler to it.為了了解原因,您可以設(shè)想應(yīng)用程序上有一個按鈕,單擊按鈕時要做一些工作, 于是您對它添加了一個事件處理程序。 返回 event handler