System.Windows.Forms.Application.EnterThreadModal Event

Occurs when the application is about to enter a modal state.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public static event EventHandler EnterThreadModal

Remarks

Note:

Because this is a static event, you must detach your event handlers when your application is disposed, or memory leaks will result.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0