RE: [IronPython] Overloading OnPaint etc.

2005-04-26 Thread Jim Hugunin
__ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kirk Olynyk Sent: Monday, April 25, 2005 11:54 AM To: users-ironpython.com@lists.ironpython.com Subject: [IronPython] Overloading OnPaint etc. Under C#, you can overload OnPaint on a class derived from Form and then it will automatically

[IronPython] Overloading OnPaint etc.

2005-04-25 Thread Kirk Olynyk
Under C#, you can overload OnPaint on a class derived from Form and then it will automatically be called upon the paint event. I find that under IronPython that I am forced to explicitly add the OnPaint method to the paint message handler list. Is this by design?   import sys sys.LoadAss