[IronPython] how to attach silverlight event to ironpython function in dlr
杨
young_dge at 163.com
Wed Aug 4 11:06:51 CEST 2010
in dlr 1.0 i want to do something like this
in c# code behind
class Context
{
public event EventHandler OnClick
///register this instance as a variable name "context" in ironpython
///...
}
in ironpython i want to do
def handler(sender, e):
//.......
context.Onclick += handler
is it possible to do this in dynamic language runtime in silverlight?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100804/4da214c6/attachment.html>
More information about the Ironpython-users
mailing list