为 VB.NET 的类增加自定义事件

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

    Public Custom Event AnyName As EventHandler
        AddHandler(ByVal value As EventHandler)

        End AddHandler

        RemoveHandler(ByVal value As EventHandler)

        End RemoveHandler

        RaiseEvent(ByVal sender As Object, ByVal e As System.EventArgs)

        End RaiseEvent
    End Event