[IronPython] Control event ids
William Reade
william at resolversystems.com
Thu Apr 30 13:02:31 CEST 2009
Hi List
----------------------------
>>> import clr
>>> clr.AddReference('System.Windows.Forms')
>>> from System.Windows.Forms import TabControl
>>> t = TabControl()
>>> t.MouseDown == t.MouseDown
False
>>> t.MouseDown is t.MouseDown
False
>>>
----------------------------
This behaviour makes it extremely cumbersome to detach from events (some
events, anyway; I'm pretty certain that I've seen events which don't
exhibit this behaviour, but I can't remember what they are).
Is this an IronPython bug, or have I got a broken mental model of what
should be happening?
Cheers
William
More information about the Ironpython-users
mailing list