A very basic tutorial on AddHandler Statement. In this project we used it to prevent a non-numerical values to be entered in the textbox controls.

You may also choose the event handler for each control from Designer.
Just select all the controls you want to add the same Event Handler to.
Then from the Events view in Properties panel double click KeyPress and finally add the code that you want to apply to the selected controls.
Note: This approach can’t be used always instead AddHandler statement.