110,538
社区成员
发帖
与我相关
我的任务
分享
public class CustomEvent
{
public event EventHandler OnEvent;
public void CustomHandler(Object sender, EventArgs e)
{
OnEvent(sender, e);
}
}
每个不同的事件类型绑定到一个新的CustomEvent实例上