silverlight - VB.NET - Send [Delegate] through the classes to set AddressOf -
how can put addressof, class?
i error 'addressof' operand must name of method (without parentheses). "
is there eval () function in vb.net? or how 1 this?
public shared property e usercontrol public shared sub setbutton(byval button string, byval objekt [delegate]) dim errorbuttom1 button = e.findname("errorbutton1") addhandler errorbuttom1.click, addressof objekt end sub
you have have instance of objekt, , method that's delegate must public , match signature of delegate. or, method must public static.
i believe work...
Comments
Post a Comment