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

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -