Re: Overriding Methods



arlef <arlefk@xxxxxxxxxxx> wrote:
Is there a wizard or something that helps with overriding methods? For
Instance, I want to override the paint method of a Windows.Forms.Panel. do
I have to manually type the override paint method?

IIRC, you can just hit Ctrl-Space when in the derived type but outside
any other method, select the Paint method, and VS.NET will generate the
appropriate things for you.

If that doesn't work, type "override" and I think a list will come up.

--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.