Top Method Summary
Options Name Purpose
ComponentAddedHandler (Object, ComponentEventArgs) Event handler for the ComponentAdded event
Progress.Data.BindingSource CreateDesignBindingSource () Creates the Design time BindingSource instance
CHARACTER CreateName (IContainer, Type) Creates a new name that is unique to all components in the specified container
DeleteControls () Deletes the selected controls
DeselectComponents () Deselects all components
DisableTool (character) Disables a tool on the Designer Toolbar
DuplicateControls (Control, Control) Duplicates the controls of the source control on the target control
EnableTool (character) Enables a tool on the Designer Toolbar
FormClosingHandler (Object, FormClosingEventArgs) Event handler for the FormClosing event of the parent Form
Initialize () Initializes the Control and the Designer environment
InitializeComponent ()
InitializeDesignEnvironment () Initializes the Designer environment
LOGICAL IsValidName (character) Gets a value indicating whether the specified name is valid
OnFieldCreated (FieldCreatedEventArgs) Raises the FieldCreated event
PrepareAddingControl (character, character, character) Prepares adding a Control
SelectionChangedHandler (Object, EventArgs) Event handler for the SelectionChanged event
Serialize (Control, character) Serializes the Controls of a container control
Serialize (table) Serializes the Design to a Temp-Table
SetLicenseContext (LicenseContextEnum) Switches the active license context
ShutDown () Shuts down the design time environment
CHARACTER SubstituteType (character) Substitutes the runtime control types with the design time control types
timer1_Tick (Object, EventArgs) Event handler for the Tick event of the timer1
ToolClickHandler (Object, ToolClickEventArgs) Event handler for the ToolClick event of the UltraToolbarsManager
CHARACTER UniqueControlName (character, Control) Builds an unique name for a Control
CHARACTER UniqueControlNameForSerialization (Control) Returns a unique control name for the serialization
ValidateName (character) Gets a value indicating whether the specified name is valid.

Top Constructor Summary
Options Name Purpose
SmartViewerDesignerControl () Constructor for the SmartViewerDesignerControl class

Top Event Summary
Options Name Purpose
FieldCreated (Object, FieldCreatedEventArgs) Raised whenever a field is added to the Designer

Top Property Summary
Options Name Purpose
Progress.Data.BindingSource BindingSource
LOGICAL CreateDesignBindingSource
LOGICAL CreatePropertySheet
LOGICAL CreateToolboxForm
System.ComponentModel.Design.IDesignerHost DesignerHost
Infragistics.Win.UltraWinToolbars.UltraToolbarsManager DesignerToolbar
LOGICAL PromptOnFormClosing
System.ComponentModel.Design.IServiceContainer ServiceContainer
System.Windows.Forms.Control SourceControl
System.Collections.Generic.Dictionary <System.String> SubstituteDesignerControls
System.Collections.Generic.Dictionary <System.String> SubstituteDynamicControls


Method Detail
Top

ComponentAddedHandler (Object, ComponentEventArgs)

Purpose: Event handler for the ComponentAdded event
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.ComponentModel.Design.ComponentEventArgs
The ComponentEventArgs with the data for this event
Top

Progress.Data.BindingSource CreateDesignBindingSource ()

Purpose: Creates the Design time BindingSource instance
Notes:

Returns Progress.Data.BindingSource
The reference to the BindingSource instance
Top

CHARACTER CreateName (IContainer, Type)

Purpose: Creates a new name that is unique to all components in the specified
container
Notes:

Parameters:
container System.ComponentModel.IContainer
The container where the new object is added
dataType System.Type
The data type of the object that receives the name
Returns CHARACTER
The name for the new control
Top

DeleteControls ()

Purpose: Deletes the selected controls
Notes:

Top

DeselectComponents ()

Purpose: Deselects all components
Notes:

Top

DisableTool (character)

Purpose: Disables a tool on the Designer Toolbar
Notes:

Parameters:
pcTool CHARACTER
The name of the tool to disable
Top

DuplicateControls (Control, Control)

Purpose: Duplicates the controls of the source control on the target control
Notes:

Parameters:
poSourceControls System.Windows.Forms.Control
The reference to the source control container
poTargetControls System.Windows.Forms.Control
The reference to the target control container
Top

EnableTool (character)

Purpose: Enables a tool on the Designer Toolbar
Notes:

Parameters:
pcTool CHARACTER
The name of the tool to enable
Top

FormClosingHandler (Object, FormClosingEventArgs)

Purpose: Event handler for the FormClosing event of the parent Form
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.Windows.Forms.FormClosingEventArgs
The FormClosingEventArgs with the data for this event
Top

Initialize ()

Purpose: Initializes the Control and the Designer environment
Notes:

Top

InitializeComponent ()


Top

InitializeDesignEnvironment ()

Purpose: Initializes the Designer environment
Notes:

Top

LOGICAL IsValidName (character)

Purpose: Gets a value indicating whether the specified name is valid
Notes: Always returns True

Parameters:
name CHARACTER
The name to validate
Returns LOGICAL
Logical value indicating of the name is valid
Top

OnFieldCreated (FieldCreatedEventArgs)

Purpose: Raises the FieldCreated event
Notes:

Parameters:
e Consultingwerk.Design.SmartComponents.FieldCreatedEventArgs
The FieldCreatedEventArgs with the data for this event
Top

PrepareAddingControl (character, character, character)

Purpose: Prepares adding a Control
Notes:

Parameters:
pcFieldName CHARACTER
The name of the field to add
pcFieldDataType CHARACTER
The DataType of the field to add
pcFieldLabel CHARACTER
The Label of the field to add
Top

SelectionChangedHandler (Object, EventArgs)

Purpose: Event handler for the SelectionChanged event
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event
Top

Serialize (Control, character)

Purpose: Serializes the Controls of a container control
Notes: Recursive method

Parameters:
poParentControl System.Windows.Forms.Control
The reference to the Parent Control
pcParentInstanceId CHARACTER
The Instance Id of the current container instance
Top

Serialize (table)

Purpose: Serializes the Design to a Temp-Table
Notes:

Parameters:
ttViewerDesign TEMP-TABLE ttViewerDesign
OUTPUT Temp-Table with the controls and their properties
Top

SetLicenseContext (LicenseContextEnum)

Purpose: Switches the active license context
Notes:

Parameters:
poContext Consultingwerk.Design.SmartComponents.LicenseContextEnum
The LicenseContextEnum describing which context to activate
Top

ShutDown ()

Purpose: Shuts down the design time environment
Notes:

Top

CHARACTER SubstituteType (character)

Purpose: Substitutes the runtime control types with the design time control
types
Notes:

Parameters:
pcSourceType CHARACTER
The source control type
Returns CHARACTER
The control type to be used during design time
Top

timer1_Tick (Object, EventArgs)

Purpose: Event handler for the Tick event of the timer1
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event
Top

ToolClickHandler (Object, ToolClickEventArgs)

Purpose: Event handler for the ToolClick event of the UltraToolbarsManager
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Infragistics.Win.UltraWinToolbars.ToolClickEventArgs
The ToolClickEventArgs with the data for this event
Top

CHARACTER UniqueControlName (character, Control)

Purpose: Builds an unique name for a Control
Notes:

Parameters:
pcControlName CHARACTER
The proposed name for the Control
poParentControl System.Windows.Forms.Control
The controls parent
Returns CHARACTER
The unique name for the control
Top

CHARACTER UniqueControlNameForSerialization (Control)

Purpose: Returns a unique control name for the serialization
Notes:

Parameters:
poControl System.Windows.Forms.Control
The reference to the control
Returns CHARACTER
The unique control name for the serialization
Top

ValidateName (character)

Purpose: Gets a value indicating whether the specified name is valid.
Notes: his method is similar to IsValidName, except that this method throws
an exception if the name is invalid. This allows implementers to
provide detailed information in the exception message.

Parameters:
name CHARACTER
The name for the new control


Constructor Detail
Top

SmartViewerDesignerControl ()

Purpose: Constructor for the SmartViewerDesignerControl class
Notes:



Event Detail
Top

FieldCreated (Object, FieldCreatedEventArgs)

Purpose: Raised whenever a field is added to the Designer
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.Design.SmartComponents.FieldCreatedEventArgs
The FieldCreatedEventArgs with the data for this event


Property Detail
Top

Progress.Data.BindingSource BindingSource


Returns Progress.Data.BindingSource
Top

LOGICAL CreateDesignBindingSource


Returns LOGICAL
Top

LOGICAL CreatePropertySheet


Returns LOGICAL
Top

LOGICAL CreateToolboxForm


Returns LOGICAL
Top

System.ComponentModel.Design.IDesignerHost DesignerHost


Returns System.ComponentModel.Design.IDesignerHost
Top

Infragistics.Win.UltraWinToolbars.UltraToolbarsManager DesignerToolbar


Returns Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
Top

LOGICAL PromptOnFormClosing


Returns LOGICAL
Top

System.ComponentModel.Design.IServiceContainer ServiceContainer


Returns System.ComponentModel.Design.IServiceContainer
Top

System.Windows.Forms.Control SourceControl


Returns System.Windows.Forms.Control
Top

System.Collections.Generic.Dictionary <System.String> SubstituteDesignerControls


Returns System.Collections.Generic.Dictionary <System.String>
Top

System.Collections.Generic.Dictionary <System.String> SubstituteDynamicControls


Returns System.Collections.Generic.Dictionary <System.String>


Temp-Table Detail

Temp-Table ttViewerDesign

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       30.03.2026 11:04:01