Namespace: Consultingwerk.SmartComponents.Base
Class 
SmartUserControl Copy to Clipboard
Parent classes:
Inherits: Progress.Windows.UserControl
Implements: Consultingwerk.SmartComponents.IHasDesignerVerbs
Inherited by: Consultingwerk.Design.SmartComponents.Viewer.SmartViewerDesignerControl Consultingwerk.BusinessEntityDesigner.UI.FieldValidationPropertiesControl Consultingwerk.SmartComponents.Base.SmartFilterControl Consultingwerk.SmartComponents.Implementation.SmartDynamicFilterControl Consultingwerk.SmartComponents.Base.SmartViewerControl Consultingwerk.BusinessEntityDesigner.Plugins.BusinessEntityRelations.RelationDesignerViewer Consultingwerk.BusinessEntityDesigner.UI.BusinessEntityViewerControl Consultingwerk.BusinessEntityDesigner.UI.DataRelationViewerControl Consultingwerk.BusinessEntityDesigner.UI.FieldViewerControl Consultingwerk.BusinessEntityDesigner.UI.IndexViewerControl Consultingwerk.BusinessEntityDesigner.UI.MemberTableViewerControl Consultingwerk.SmartComponents.Implementation.SmartDynamicViewer Consultingwerk.Windows.Framework.Authentication.SmartUserViewer Consultingwerk.Windows.Framework.Authorization.SmartFieldSecurityItemViewerControl Consultingwerk.Windows.Framework.Authorization.SmartGroupViewer Consultingwerk.Windows.Framework.Authorization.SmartSecurityAssignmentViewerControl Consultingwerk.Windows.Framework.Authorization.SmartSecurityObjectTokenViewerControl Consultingwerk.Windows.Framework.Authorization.SmartSecurityObjectViewerControl Consultingwerk.Windows.Framework.Authorization.SmartSecurityRealmViewerControl Consultingwerk.Windows.Framework.Authorization.SmartSecurityTokenViewerControl Consultingwerk.Windows.Framework.Authorization.SmartToolbarSecurityItemViewerControl Consultingwerk.Windows.Framework.Menu.SmartFunctionViewer Consultingwerk.Windows.Framework.Menu.SmartMenuStyleViewerControl Consultingwerk.Windows.Framework.Menu.SmartMenuViewer Consultingwerk.Windows.Framework.Menu.SmartModuleViewer Consultingwerk.Windows.Framework.Menu.SmartProductViewerControl Consultingwerk.Windows.Framework.Repository.Class.SmartAttributeGroupViewerControl Consultingwerk.Windows.Framework.Repository.Class.SmartAttributeViewerControl Consultingwerk.Windows.Framework.Repository.Class.SmartClassTypeViewerControl Consultingwerk.Windows.Framework.Repository.Class.SmartLinkTypeViewerControl Consultingwerk.Windows.Framework.Repository.Class.SmartObjectTypeViewerControl Consultingwerk.Windows.Framework.Repository.Class.SmartSupportedLinkViewerControl Consultingwerk.Windows.Framework.Repository.Customization.SmartCustomizationResultViewerControl Consultingwerk.Windows.Framework.Repository.Customization.SmartCustomizationTypeViewerControl Consultingwerk.Windows.Framework.Repository.Customization.SmartCustomizationViewerControl Consultingwerk.Windows.Framework.Repository.Field.SmartEntityFieldMappingViewerControl Consultingwerk.Windows.Framework.Repository.Object.SmartLinkViewerControl Consultingwerk.Windows.Framework.Repository.Object.SmartObjectInstanceViewerControl Consultingwerk.Windows.Framework.Repository.Object.SmartObjectMasterViewerControl Consultingwerk.Windows.Framework.Repository.Object.SmartPageViewerControl Consultingwerk.Windows.Framework.Repository.Rendering.Viewer.LazyLoadingViewerControl Consultingwerk.Windows.Framework.Repository.ScreenMapping.SmartEntityTableMappingViewerControl Consultingwerk.Windows.Framework.Repository.ScreenMapping.SmartScreenTypeViewerControl Consultingwerk.Windows.Framework.Repository.ScreenMapping.SmartUiTypeViewerControl Consultingwerk.Windows.Framework.Rollbase.DataObjectDefViewerControl Consultingwerk.Windows.Framework.Scheduler.SmartSchedulerJobPlanViewerControl Consultingwerk.Windows.Framework.Scheduler.SmartSchedulerJobStatusViewerControl Consultingwerk.Windows.Framework.Scheduler.SmartSchedulerJobViewerControl Consultingwerk.Windows.Framework.System.SmartAttachmentRoleViewerControl Consultingwerk.Windows.Framework.System.SmartBusinessEntityTableViewerControl Consultingwerk.Windows.Framework.System.SmartBusinessEntityViewerControl Consultingwerk.Windows.Framework.System.SmartCommentRoleViewerControl Consultingwerk.Windows.Framework.System.SmartKeyFieldAssignmentTypeViewerControl Consultingwerk.Windows.Framework.System.SmartLanguageViewer Consultingwerk.Windows.Framework.System.SmartLoginCompanyViewer Consultingwerk.Windows.Framework.System.SmartMessageViewerControl Consultingwerk.Windows.Framework.System.SmartModifiedStateViewerControl Consultingwerk.Windows.Framework.System.SmartRelationViewerControl Consultingwerk.Windows.Framework.System.SmartTableViewerControl Consultingwerk.Windows.Framework.System.SmartTranslationViewerControl Consultingwerk.Windows.Framework.System.SmartUiTranslationViewerControl Consultingwerk.Windows.Framework.System.SmartValueListViewerControl Consultingwerk.Windows.Framework.Web.SmartRouteViewerControl Consultingwerk.Windows.Framework.Workflow.SmartWorkflowActivityViewerControl Consultingwerk.Windows.Framework.Workflow.SmartWorkflowStatusActivityViewerControl Consultingwerk.Windows.Framework.Workflow.SmartWorkflowStatusViewerControl Consultingwerk.Windows.Framework.Workflow.SmartWorkflowSwimlaneViewerControl Consultingwerk.Windows.Framework.Workflow.SmartWorkflowViewerControl Consultingwerk.SmartComponents.BaseForms.TabFolder.SmartTabFolderPage Consultingwerk.SmartComponents.Implementation.SmartDataBrowserViewManagerControl Consultingwerk.SmartComponents.Implementation.SmartNavigationPanel Consultingwerk.SmartComponents.Implementation.SmartPanelController Consultingwerk.SmartComponents.Implementation.SmartDynamicPanelController Consultingwerk.SmartComponents.Tools.BusinessEntityBrowser.BusinessEntityTreeViewControl Consultingwerk.SmartComponents.Tools.OERABusinessEntityTester.OERABusinessEntityTesterUserControl Consultingwerk.Windows.Framework.Authorization.SmartMenuSecurityMaintenanceControl Consultingwerk.Windows.Framework.Controls.EmbeddedAbstractBaseControl Consultingwerk.Windows.Framework.Menu.CallParameterBaseControl Consultingwerk.Windows.Framework.Menu.InvokeServiceMethodCallParameterControl Consultingwerk.Windows.Framework.Menu.InvokeStaticMethodCallParameterControl Consultingwerk.Windows.Framework.Menu.LaunchAnnotationFormCallParameterControl Consultingwerk.Windows.Framework.Menu.LaunchFormCallParameterControl Consultingwerk.Windows.Framework.Menu.LaunchWebViewCallParameterControl Consultingwerk.Windows.Framework.Menu.RunProcedureCallParameterControl Consultingwerk.Windows.Framework.Menu.WebUriCallParameterControl Consultingwerk.Windows.Framework.Scheduler.JobCommandBaseControl Consultingwerk.Windows.Framework.Lock.DeleteExpiredLockJobCommandControl Consultingwerk.Windows.Framework.Scheduler.BusinessTaskSchedulerJobCommandControl Consultingwerk.Windows.Framework.Scheduler.CleanupSchedulerJobCommandControl Consultingwerk.Windows.Framework.Scheduler.ProcedureSchedulerJobCommandControl Consultingwerk.Windows.Framework.Scheduler.ShellCommandSchedulerJobCommandControl Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl Consultingwerk.Windows.Framework.Repository.Class.ObjectTypeAttributesUserControl Consultingwerk.Windows.Framework.Repository.Object.ObjectInstanceAttributesUserControl Consultingwerk.Windows.Framework.Repository.Object.ObjectMasterAttributesUserControl Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl Consultingwerk.Windows.Framework.Repository.Object.GridDesignerControl Consultingwerk.Windows.Framework.Repository.Object.ViewerDesignerControl Consultingwerk.Windows.Framework.Repository.Object.LayoutPositionControl Consultingwerk.Windows.Framework.System.MenuTranslationMaintenanceControl Consultingwerk.Windows.Framework.System.SmartAttachmentControl Consultingwerk.Windows.Framework.Workflow.WorkflowDiagramControl

File:SmartUserControl
Purpose:Base class for SmartComponent Library user Controls
Description:Base class for all UserControls.
Author(s):Marko Rüterbories / Consultingwerk Ltd.
Created:Thu Jun 25 15:07:58 CEST 2009
Notes:Provides support for Visual Designer extensions
/* Mike Fechner, Consultingwerk Ltd. 16.05.2010
Core implementation of ICustomTypeDescriptor



Top Method Summary
Options Name Purpose
# CreateVerbs () Creates Designer Verbs based on the DesignerVerbs property
+ System.Collections.Generic.List <System.ComponentModel.Component> GetAllComponents () Returns a List of all Components in the Form
# OnLoad (EventArgs) Raises the Load event
+ OnVerbClicked (character) Event Handler method for Designer Verbs
# ParentFormDestroyedHandler (Object, EventArgs) Event handler for the FormDestroyed event of the owning Form
+ SubscribeParentFormDestroyed () Subscribes the ParentFormDestroyed event
# SubscribeUserControlEvents () Allows for custom event subscriptions during OnLoad()

Top Constructor Summary
Options Name Purpose
+ SmartUserControl () Constructor of the SmartUserControl class. Set's the DesignTime property using the LicenseManager.

Top Property Summary
Options Name Purpose
# CHARACTER DesignerVerbs
+ LOGICAL DesignTime
# CHARACTER HiddenProperties
# CHARACTER NonBrowsableProperties
# LOGICAL ParentFormDestroyedSubscribed
# LOGICAL UserControlEventsSubscribed


Method Detail
Top

PROTECTED CreateVerbs ()

Purpose: Creates Designer Verbs based on the DesignerVerbs property
Notes:

Top

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

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

PROTECTED OnLoad (EventArgs)

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)

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)

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 SubscribeParentFormDestroyed ()

Purpose: Subscribes the ParentFormDestroyed event
Notes:

Top

PROTECTED SubscribeUserControlEvents ()

Purpose: Allows for custom event subscriptions during OnLoad()
Notes: Intended to be overridden in the inheriting user control



Constructor Detail
Top

PUBLIC SmartUserControl ()

Purpose: Constructor of the SmartUserControl class. Set's the
DesignTime property using the LicenseManager.
Notes: Set during constructor using a check at the
System.ComponentModel.LicenseManager



Property Detail
Top

PROTECTED CHARACTER DesignerVerbs


Returns CHARACTER
Top

PUBLIC LOGICAL DesignTime


Returns LOGICAL
Top

PROTECTED CHARACTER HiddenProperties


Returns CHARACTER
Top

PROTECTED CHARACTER NonBrowsableProperties


Returns CHARACTER
Top

PROTECTED LOGICAL ParentFormDestroyedSubscribed


Returns LOGICAL
Top

PROTECTED LOGICAL UserControlEventsSubscribed


Returns LOGICAL


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       29.06.2022 12:44:34