ComponentGlyph 构造函数

定义

初始化 ComponentGlyph 类的新实例。

重载

ComponentGlyph(IComponent)

初始化 ComponentGlyph 类的新实例。

ComponentGlyph(IComponent, Behavior)

初始化 ComponentGlyph 类的新实例。

ComponentGlyph(IComponent)

初始化 ComponentGlyph 类的新实例。

public:
 ComponentGlyph(System::ComponentModel::IComponent ^ relatedComponent);
public ComponentGlyph (System.ComponentModel.IComponent relatedComponent);
public ComponentGlyph (System.ComponentModel.IComponent? relatedComponent);
new System.Windows.Forms.Design.Behavior.ComponentGlyph : System.ComponentModel.IComponent -> System.Windows.Forms.Design.Behavior.ComponentGlyph
Public Sub New (relatedComponent As IComponent)

参数

relatedComponent
IComponent

Glyph 相关联的组件。

另请参阅

适用于

ComponentGlyph(IComponent, Behavior)

初始化 ComponentGlyph 类的新实例。

public:
 ComponentGlyph(System::ComponentModel::IComponent ^ relatedComponent, System::Windows::Forms::Design::Behavior::Behavior ^ behavior);
public ComponentGlyph (System.ComponentModel.IComponent relatedComponent, System.Windows.Forms.Design.Behavior.Behavior behavior);
public ComponentGlyph (System.ComponentModel.IComponent? relatedComponent, System.Windows.Forms.Design.Behavior.Behavior? behavior);
new System.Windows.Forms.Design.Behavior.ComponentGlyph : System.ComponentModel.IComponent * System.Windows.Forms.Design.Behavior.Behavior -> System.Windows.Forms.Design.Behavior.ComponentGlyph
Public Sub New (relatedComponent As IComponent, behavior As Behavior)

参数

relatedComponent
IComponent

Glyph 相关联的组件。

behavior
Behavior

Glyph 相关联的 Behavior

另请参阅

适用于