2
Answers

Control.OnKeyPress question

eksypnos123

eksypnos123

20y
2.3k
1
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)