请帮我将这句话翻译一下,谢谢!

jonsonzxw 2003-03-06 03:42:20
OnClick dispatches the event to delegates that are registered with the Click event. Controls that derive from MyButton can handle the Click event by overriding OnClick instead of attaching a delegate. The event data is passed as an argument to this method.
...全文
48 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
Zoujinyucn 2003-03-06
  • 打赏
  • 举报
回复
OnClick将事件分配给和Click事件一起注册的代理。从MyButton继承的控件可以用重载OnClick代替绑定一个代理来处理Click。事件的数据作为依据被传递给方法。
hbuser 2003-03-06
  • 打赏
  • 举报
回复
分少啊:0!多了我赶紧去学外语

110,534

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧