次の方法で共有


DesignSurfaceExtension.OnComponentCreated(IComponent) Method

Definition

This method is called when a new component is created but before that component is added to the designer.

public:
 virtual void OnComponentCreated(System::ComponentModel::IComponent ^ component);
public virtual void OnComponentCreated (System.ComponentModel.IComponent component);
abstract member OnComponentCreated : System.ComponentModel.IComponent -> unit
override this.OnComponentCreated : System.ComponentModel.IComponent -> unit
Public Overridable Sub OnComponentCreated (component As IComponent)

Parameters

component
IComponent

The component that has been created.

Applies to