问题描述
有人可以帮我转换这个c#代码到vb.net
公共事件EventHandler TextChanged {
add {
Events.AddHandler(EventTextChanged,value);
}
删除{
Events.RemoveHandler(EventTextChanged,value);
}
}
什么使得你这么说?假设事件和
EventTextChanged被正确定义,对我来说看起来没问题。
-
Jon Skeet - < sk***@pobox.com>
如果回复群组,请不要给我发邮件
could someone please help me convert this c# code to vb.net
public event EventHandler TextChanged {
add {
Events.AddHandler(EventTextChanged, value);
}
remove {
Events.RemoveHandler(EventTextChanged, value);
}
}
What makes you say that? It looks okay to me, assuming that Events and
EventTextChanged are appropriately defined.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
这篇关于转换为vb.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!