There is no KeyPress event when you're working with an ASP.NET program. If you look at the articles returned from https://www.google.com/#q=asp.net+keypress+event+textbox then you will see that they use JavaScript on the client.
Depending on why you want to intercept every keypress, you may be able to implement the desired functionality in JavaScript. You could use AJAX to send a message to the server every time a key is pressed, but the user experience of relatively slow typing or things happening out of sync with what they are typing could be undesirable.
You should remove the reference to System.Windows.Forms.