Namespace: Consultingwerk.Windows.Framework.Repository.Object.ComponentDesigner
Interface 
IComponentDesigner Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.Windows.Framework.Repository.Object.ComponentDesigner.ButtonComponentDesigner, Consultingwerk.Windows.Framework.Repository.Object.ComponentDesigner.ComboBoxComponentDesigner, Consultingwerk.Windows.Framework.Repository.Object.ComponentDesigner.EditorComponentDesigner, Consultingwerk.Windows.Framework.Repository.Object.ComponentDesigner.GroupBoxComponentDesigner, Consultingwerk.Windows.Framework.Repository.Object.ComponentDesigner.LookupComponentDesigner, Consultingwerk.Windows.Framework.Repository.Object.ComponentDesigner.RadiosetComponentDesigner, Consultingwerk.Windows.Framework.Repository.Object.ComponentDesigner.TextBoxComponentDesigner, Consultingwerk.Windows.Framework.Repository.Object.ComponentDesigner.TextComponentDesigner

File:IComponentDesigner
Purpose:Interface for Component Designers used by the ViewerDesigner
and silimar container designers
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Mon Mar 06 20:58:05 CET 2017
Notes:The container designer maintains the life time of the component
designer. The component designer is not intended to have
any state. It may be launched again for every interaction
started by the container designer.
IComponentDesigner implementations are expected to provide a
constructor that expects the following parameters:
- pcObjectInstanceGuid The GUID of the object instance that this component designer is used with
- pcInstanceName The name of the object instance
- phAttributeTable The handle of the temp-table containing the object instance attributes
- poDesignerHost The reference to the Designer Host



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


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:

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


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:37:37