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

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

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -