Top Method Summary
Options Name Purpose
+ System.Windows.Forms.Control CreateDesignTimeControl () Creates the design time control
+ HandleMoved (Control) Handles the Move of a Control
+ HandlePropertyValueChanged (Control, character, Object) Handles changed property values
+ HandleResized (Control) Handles the Resize of a Control
+ SetControlLabel (Control, character) Sets the Label for the Control

Top Constructor Summary
Options Name Purpose
+ CustomControlComponentDesigner (character, character, handle, IDesignerHost) Constructor for the CustomControlComponentDesigner class


Method Detail
Top

PUBLIC System.Windows.Forms.Control CreateDesignTimeControl ()

Purpose: Creates the design time control
Notes:

Returns System.Windows.Forms.Control
The design time control
Top

PUBLIC HandleMoved (Control)

Purpose: Handles the Move of a Control
Notes: Typically repositions the Label Control

Parameters:
poControl System.Windows.Forms.Control
The Control that was moved
Top

PUBLIC HandlePropertyValueChanged (Control, character, Object)

Purpose: Handles changed property values
Notes:

Parameters:
poControl System.Windows.Forms.Control
The reference to the Control that changed the property
pcPropertyName CHARACTER
The name of the property that has changed
poPropertyValue System.Object
The value of the changed property
Top

PUBLIC HandleResized (Control)

Purpose: Handles the Resize of a Control
Notes: Typically repositions the Label Control

Parameters:
poControl System.Windows.Forms.Control
The Control that was moved
Top

PUBLIC SetControlLabel (Control, character)

Purpose: Sets the Label for the Control
Notes: Not supported for this designer

Parameters:
poControl System.Windows.Forms.Control
The Control to set the Label for
pcLabel CHARACTER
The Control Label


Constructor Detail
Top

PUBLIC CustomControlComponentDesigner (character, character, handle, IDesignerHost)

Purpose: Constructor for the CustomControlComponentDesigner class
Notes:

Parameters:
pcObjectInstanceGuid CHARACTER
The GUID of the object instance that this component designer is used with
pcInstanceName CHARACTER
The name of the object instance
phAttributeTable HANDLE
The handle of the temp-table containing the object instance attributes
poDesignerHost System.ComponentModel.Design.IDesignerHost
The reference to the Designer Host


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:21:17