ChangePasswordDesigner.Initialize(IComponent) 方法
定义
准备设计器,以查看、编辑和设计关联的组件。Prepares the designer to view, edit, and design the associated control.
public:
override void Initialize(System::ComponentModel::IComponent ^ component);
public override void Initialize (System.ComponentModel.IComponent component);
override this.Initialize : System.ComponentModel.IComponent -> unit
Public Overrides Sub Initialize (component As IComponent)
参数
- component
- IComponent
一个 ChangePassword,它实现 IComponent。A ChangePassword, which implements IComponent.
注解
当设计器宿主 Initialize 准备好使用设计器呈现控件时,将调用方法 ChangePassword 。The designer host calls the Initialize method when it is ready to use the designer to render the ChangePassword control. Initialize方法及其基方法会配置属性并连接设计器操作所需的事件。The Initialize method and its base methods configure properties and connect events that are necessary for the operation of the designer.
component参数是 ChangePassword 与此设计器关联的控件,或指定的控件的副本 component 。The component parameter is the ChangePassword control that is associated with this designer, or a copy of the control specified by component.