KeyPress method does not work due to no reference

There are several KeyPress method in my code. All are working except the one due to no reference. I have checked the project for naming mistake. But there is no any mistake. How can I make reference for this method.

enter image description here

btnback_KeyPress is not working.

Jon Skeet
people
quotationmark

Looks like you just don't have the event hooked up. Go into the designer, select the btnback button, then in the Events tab of the Properties window, find the KeyPress event and subscribe the btnback_KeyPress method to it as a handler.

people

See more on this question at Stackoverflow