System.Windows.Forms.Design.ComponentEditorPage.EnterLoadingMode Method

Increments the loading counter.

Syntax

protected void EnterLoadingMode ()

Remarks

Each procedure that performs loading or initialization should first call the ComponentEditorPage.EnterLoadingMode method to indicate that it will load something before the editor can display the loaded editor page. When a loading procedure that called ComponentEditorPage.EnterLoadingMode completes, it should call the ComponentEditorPage.ExitLoadingMode method to indicate that its part of the load process is completed.

The ComponentEditorPage.Loading property is used as a counter to determine when loading is complete. A page is in loading mode if the value of the ComponentEditorPage.Loading property is non-zero.

Requirements

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