VB.NET Developer's Guide

Form Events

Events occur for forms when the user open or closes a form, moves between forms, or interacts with the surface of a form. Events that occur when the user interacts with a form can be triggered by using the mouse or keyboard. The Windows Form framework exposes many events of the Form class. Table 7.4 describes these events.

Table 7.4: Form Events

Event

Description

Activated

Occurs when the form is activated in code or by the user.

ChangeUICues (inherited from Control)

Occurs when the focus or keyboard or both cues have changed.

Click (inherited from Control)

Occurs when the form is clicked.

Closed

Occurs when the form is closed.

Closing

Occurs when the form is closing.

ControlAdded (inherited from Control)

Occurs when a new form is added.

ControlRemoved (inherited from Control)

Occurs when a form is removed.

Deactivate

Occurs when the form loses focus and is not the active form.

DoubleClick (inherited from Control)

Occurs when the form is double-clicked.

DragDrop (inherited from RichControl)

Occurs when a drag-and-drop operation is completed.

DragEnter (inherited from RichControl)

Occurs when an object is dragged into the control s bounds.

DragLeave (inherited from RichControl)

Occurs when an object has been dragged into and out of the control s bounds.

DragOver (inherited from RichControl)

Occurs when an object has been dragged over the control s bounds.

Enter (inherited from Control)

Occurs when the form...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: RFID Tags
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.