2
Reply

Control.OnKeyPress question

eksypnos123

eksypnos123

Nov 9 2004 7:10 PM
2.3k
I am a bit confused with these methods (On...) defined in Control the documentation says: Raises the KeyPress event. protected virtual void OnKeyPress( KeyPressEventArgs e ); shouldn't it contain also a "this" parameter since event handlers of the keyPress event have both an object and and a KeyPressEventArgs parameter?

Answers (2)