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

2014-11-23 0 664
为 VB.NET 的类增加自定义事件
    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 

遇见资源网 ASP/Basic 为 VB.NET 的类增加自定义事件 http://www.ox520.com/13333.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务