[To be supplied.]
The following declaration shows the syntax for a method that handles the KeyPress event.
[Visual Basic] Private Sub PictureBoxName_KeyPress( _ ByVal sender As Object, _ ByVal e As KeyPressEventArgs _ ) [C#] private void PictureBoxName_KeyPress( object sender, KeyPressEventArgs e ); [C++] private: void PictureBoxName_KeyPress( Object* sender, KeyPressEventArgs* e ); [JScript] private PictureBoxName_KeyPress( sender : Object, e : KeyPressEventArgs );
PictureBox Class | PictureBox MembersTopic | System.WinForms Namespace