Namespace: Consultingwerk.Windows.Framework.Repository.Object.ComponentDesigner
Class 
TextComponentDesigner Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Windows.Framework.Repository.Object.ComponentDesigner.IComponentDesigner

File:TextComponentDesigner
Purpose:Component Designer rendering a Text (Label) on the Design
canvas
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Jun 29 10:08:12 CET 2019



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
+ TextComponentDesigner (character, character, handle, IDesignerHost) Constructor for the TextComponentDesigner 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 TextComponentDesigner (character, character, handle, IDesignerHost)

Purpose: Constructor for the TextComponentDesigner 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-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:45:13