"NEWBIE" <NE****@discussions.microsoft.com> schrieb:
hi could someone help me convert this c# code
public event EventHandler TextChanged {
add {
Events.AddHandler(EventTextChanged, value);
}
remove {
Events.RemoveHandler(EventTextChanged, value);
}
}
Currently this is not supported in VB.NET. However, similar code will be
supported in VB 2005. In the meantime just use VB.NET's 'Event' syntax and
'AddHandler'/'RemoveHandler'.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>