In the future, type "Sub", then press the Space key and then the Tab key (you'll be prompted to press the Tab key by the IDE) and you will get a list of classes exposing Events. Choose the class you want (in this case, it would have been Form) and you'll see the Events exposed. Then you just have to fill in the event name prefix.