Form::OnCreateControl Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Use BaseTrue

Raises the CreateControl event.

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

protected:
virtual void OnCreateControl() override

Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.

Notes to Inheritors:

When overriding OnCreateControl in a derived class, be sure to call the base class's OnCreateControl method.

.NET Framework
Available since 1.1
Return to top
Show: