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
# CreateVerbs () Creates Designer Verbs based on the DesignerVerbs property
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# 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
+ System.Collections.Generic.List <System.ComponentModel.Component> GetAllComponents () Returns a List of all Components in the Form
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ Initialize () Initializes the Control and the Designer environment
- InitializeComponent () Initializes the Visual Design
# InitializeDesignEnvironment () Initializes the Designer environment
+ LOGICAL IsValidName (character) Gets a value indicating whether the specified name is valid
# OnFieldCreated (FieldCreatedEventArgs) Raises the FieldCreated event
# OnLoad (EventArgs) Raises the Load event
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ OnVerbClicked (character) Event Handler method for Designer Verbs
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# ParentFormDestroyedHandler (Object, EventArgs) Event handler for the FormDestroyed event of the owning Form
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ 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
+ SubscribeParentFormDestroyed () Subscribes the ParentFormDestroyed event
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# SubscribeUserControlEvents () Allows for custom event subscriptions during OnLoad()
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# 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
# CHARACTER DesignerVerbs
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ LOGICAL DesignTime
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# CHARACTER HiddenProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# CHARACTER NonBrowsableProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# LOGICAL ParentFormDestroyedSubscribed
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ 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
# LOGICAL UserControlEventsSubscribed
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl


Method Detail
Top

PUBLIC 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

PROTECTED Progress.Data.BindingSource CreateDesignBindingSource ()

Purpose: Creates the Design time BindingSource instance
Notes:

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

PUBLIC 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

PROTECTED CreateVerbs ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Creates Designer Verbs based on the DesignerVerbs property
Notes:

Top

PROTECTED DeleteControls ()

Purpose: Deletes the selected controls
Notes:

Top

PUBLIC DeselectComponents ()

Purpose: Deselects all components
Notes:

Top

PROTECTED DisableTool (character)

Purpose: Disables a tool on the Designer Toolbar
Notes:

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

PROTECTED 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

PROTECTED EnableTool (character)

Purpose: Enables a tool on the Designer Toolbar
Notes:

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

PROTECTED 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

PUBLIC System.Collections.Generic.List <System.ComponentModel.Component> GetAllComponents ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Returns a List of all Components in the Form
Notes: Supported on OpenEdge 11 only, due to dependency to the ComponentsCollection
list not available on 10.2B

Returns System.Collections.Generic.List <System.ComponentModel.Component>
The List of Components in the Form
Top

PUBLIC Initialize ()

Purpose: Initializes the Control and the Designer environment
Notes:

Top

PRIVATE InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PROTECTED InitializeDesignEnvironment ()

Purpose: Initializes the Designer environment
Notes:

Top

PUBLIC 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

PROTECTED OnFieldCreated (FieldCreatedEventArgs)

Purpose: Raises the FieldCreated event
Notes:

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

PROTECTED OnLoad (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Raises the Load event
Notes: Subscribes the FormDestroyed event from the ParentForm

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PUBLIC OnVerbClicked (character)

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Event Handler method for Designer Verbs
Notes: This method is intended to be overridden

Parameters:
pcDesignerVerb CHARACTER
The name (Label) of the Designer Verb that was invoked
Top

PROTECTED ParentFormDestroyedHandler (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Event handler for the FormDestroyed event of the owning Form
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

PUBLIC 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

PROTECTED 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

PROTECTED 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

PUBLIC 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

PUBLIC SetLicenseContext (LicenseContextEnum)

Purpose: Switches the active license context
Notes:

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

PUBLIC ShutDown ()

Purpose: Shuts down the design time environment
Notes:

Top

PUBLIC SubscribeParentFormDestroyed ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Subscribes the ParentFormDestroyed event
Notes:

Top

PROTECTED SubscribeUserControlEvents ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Allows for custom event subscriptions during OnLoad()
Notes: Intended to be overridden in the inheriting user control

Top

PROTECTED 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

PRIVATE 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

PROTECTED 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

PROTECTED 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

PROTECTED 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

PUBLIC 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

PUBLIC SmartViewerDesignerControl ()

Purpose: Constructor for the SmartViewerDesignerControl class
Notes:



Event Detail
Top

PUBLIC 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

PUBLIC Progress.Data.BindingSource BindingSource


Returns Progress.Data.BindingSource
Top

PUBLIC LOGICAL CreateDesignBindingSource


Returns LOGICAL
Top

PUBLIC LOGICAL CreatePropertySheet


Returns LOGICAL
Top

PUBLIC LOGICAL CreateToolboxForm


Returns LOGICAL
Top

PUBLIC System.ComponentModel.Design.IDesignerHost DesignerHost


Returns System.ComponentModel.Design.IDesignerHost
Top

PUBLIC Infragistics.Win.UltraWinToolbars.UltraToolbarsManager DesignerToolbar


Returns Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
Top

PROTECTED CHARACTER DesignerVerbs

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns CHARACTER
Top

PUBLIC LOGICAL DesignTime

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL
Top

PROTECTED CHARACTER HiddenProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns CHARACTER
Top

PROTECTED CHARACTER NonBrowsableProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns CHARACTER
Top

PROTECTED LOGICAL ParentFormDestroyedSubscribed

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL
Top

PUBLIC LOGICAL PromptOnFormClosing


Returns LOGICAL
Top

PUBLIC System.ComponentModel.Design.IServiceContainer ServiceContainer


Returns System.ComponentModel.Design.IServiceContainer
Top

PUBLIC System.Windows.Forms.Control SourceControl


Returns System.Windows.Forms.Control
Top

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


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

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


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

PROTECTED LOGICAL UserControlEventsSubscribed

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL


Temp-Table Detail

Temp-Table ttViewerDesign

Defined in:


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 05:51:07