我知道在VB .Net中可以定義自定義事件處理程序。 這是一種讓班級知道另一個人在監聽其事件的方式。這個示例代碼來自MSDN: Private Events As EventHandlerList
Public Custom Event MyEvent As EventHandler
AddHandler(value As EventHandler)
Events.Add
我工作的有關Custom Events任務,並想知道,是有event data MDN - The old-fashioned way這些方法除了額外的參數之間的差異采用event.initEvent但MDN - Cutom Events的填充工具使用event.initCustomEvent來初始化事件。 我已經提到Passing additional arguments in custom E