Namespace: Consultingwerk.SmartComponents.Base
Class 
SmartUserControl Copy to Clipboard
Parent classes:
Inherits: Progress.Windows.UserControl
Implements: Consultingwerk.SmartComponents.IHasDesignerVerbs
Inherited by: 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.LaunchFormCallParameterControl, Consultingwerk.Windows.Framework.Menu.RunProcedureCallParameterControl, Consultingwerk.Windows.Framework.Menu.WebUriCallParameterControl, Consultingwerk.Windows.Framework.Scheduler.JobCommandBaseControl, Consultingwerk.Windows.Framework.Scheduler.BusinessTaskSchedulerJobCommandControl, Consultingwerk.Windows.Framework.Scheduler.ProcedureSchedulerJobCommandControl, Consultingwerk.Windows.Framework.Scheduler.ShellCommandSchedulerJobCommandControl, Consultingwerk.Windows.Framework.Repository.Class.ObjectTypeAttributesUserControl, Consultingwerk.Windows.Framework.System.SmartAttachmentControl, Consultingwerk.SmartComponents.Base.SmartViewerControl, Consultingwerk.Windows.Framework.Authentication.SmartUserViewer, Consultingwerk.Windows.Framework.Authorization.SmartFieldSecurityItemViewerControl, Consultingwerk.Windows.Framework.Authorization.SmartGroupViewer, Consultingwerk.Windows.Framework.Authorization.SmartSecurityAssignmentViewerControl, 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.Scheduler.SmartSchedulerJobPlanViewerControl, Consultingwerk.Windows.Framework.Scheduler.SmartSchedulerJobStatusViewerControl, Consultingwerk.Windows.Framework.Scheduler.SmartSchedulerJobViewerControl, Consultingwerk.SmartComponents.Implementation.SmartDynamicViewer, Consultingwerk.BusinessEntityDesigner.UI.BusinessEntityViewerControl, Consultingwerk.BusinessEntityDesigner.UI.DataRelationViewerControl, Consultingwerk.BusinessEntityDesigner.UI.FieldViewerControl, Consultingwerk.BusinessEntityDesigner.UI.IndexViewerControl, Consultingwerk.BusinessEntityDesigner.UI.MemberTableViewerControl, 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.SmartRelationViewerControl, Consultingwerk.Windows.Framework.System.SmartTableViewerControl, Consultingwerk.Windows.Framework.System.SmartTranslationViewerControl, Consultingwerk.Windows.Framework.System.SmartUiTranslationViewerControl, Consultingwerk.Windows.Framework.System.SmartValueListViewerControl, Consultingwerk.SmartComponents.BaseForms.TabFolder.SmartTabFolderPage, Consultingwerk.SmartComponents.Implementation.SmartNavigationPanel, Consultingwerk.SmartComponents.Implementation.SmartPanelController, Consultingwerk.SmartComponents.Tools.BusinessEntityBrowser.BusinessEntityTreeViewControl, Consultingwerk.SmartComponents.Tools.OERABusinessEntityTester.OERABusinessEntityTesterUserControl, Consultingwerk.Design.SmartComponents.Viewer.SmartViewerDesignerControl

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



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

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 Property that is used to generate Designer Verbs (actions for the Visual Designer)
+ LOGICAL DesignTime Propery flags if the current instance of the SmartBindingSource is running at design time or runtime.
# CHARACTER HiddenProperties Property that is used to mark properties (comma-delimited list) that will be excluded from the .NET TypeDescriptor properties list
# CHARACTER NonBrowsableProperties Property that is used to mark properties (comma-delimited list) that should not show up in the Visual Designers Property Grid
# LOGICAL ParentFormDestroyedSubscribed Returns if the FormDestroyed evengt of the containing Form has been subscribed


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


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

Purpose: Property that is used to generate Designer Verbs (actions for the
Visual Designer)
Notes:

Returns CHARACTER
Top

PUBLIC LOGICAL DesignTime

Purpose: Propery flags if the current instance of the SmartBindingSource
is running at design time or runtime.
Notes: Set during constructor using a check at the
System.ComponentModel.LicenseManager

Returns LOGICAL
Top

PROTECTED CHARACTER HiddenProperties

Purpose: Property that is used to mark properties (comma-delimited list) that
will be excluded from the .NET TypeDescriptor properties list
Notes:

Returns CHARACTER
Top

PROTECTED CHARACTER NonBrowsableProperties

Purpose: Property that is used to mark properties (comma-delimited list) that
should not show up in the Visual Designers Property Grid
Notes:

Returns CHARACTER
Top

PROTECTED LOGICAL ParentFormDestroyedSubscribed

Purpose: Returns if the FormDestroyed evengt of the containing Form has been
subscribed
Notes:

Returns LOGICAL


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:31:15