Udostępnij za pośrednictwem


Help for Event Handlers in Visual Basic Code

To get Help on a particular event handler while in the code editor, put your cursor on the Handles clause at the back end of the event procedure, then press F1. For example, in the Form1_Load statement below, the correct place to put the cursor is in MyBase.Load:

Private Sub Form1_Load(ByVal sender As System.Object, 
    ByVal e As System.EventArgs) Handles MyBase.Load

End Sub

See Also

Concepts

Event Handlers Overview (Windows Forms)

Other Resources

Handling and Raising Events