Namespace: Consultingwerk.Windows.Framework.Repository.Class
Class 
ObjectTypeAttributesUserControl Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartComponents.Base.SmartUserControl
Implements: IHasDesignerVerbs

File:ObjectTypeAttributesUserControl
Purpose:Maintenance of attributes of the current object type
(Property Grid style updatable browser)
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue Oct 20 21:26:43 CEST 2015



Top Method Summary
Options Name Purpose
# CreateVerbs () Creates Designer Verbs based on the DesignerVerbs property
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ System.Collections.Generic.List <System.ComponentModel.Component> GetAllComponents () Returns a List of all Components in the Form
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
- InitializeComponent () Initializes the Visual Design
# InitializeRow (UltraGridRow) Initializes the Attribute Value cell in the given UltraGridRow
# OnHasChangesChanged (EventArgs) Raises the HasChangesChanged
# 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
+ ResetChanges () Resets the changes in this uer control
+ SaveChanges (character) Saves the changes in this uer control
+ ShowObjectTypeAttributes (character) Retrieves the SmartObejctType Attributes for design time
- smartTempTableAdapter1_AfterRetrieveData (Object, EventArgs) Event handler for the AfterRetrieveData event of the smartTempTableAdapter1
- smartTempTableAdapter1_BeforeDeleteRecord (Object, BeforeDeleteRecordEventArgs) Event handler for the BeforeDeleteRecord event of the smartTempTableAdpater1
- smartTempTableAdapter1_CurrentChanged (Object, EventArgs) Event handler for the CurrentChanged event of the smartTempTableAdpater1
- smartUpdatableBrowser1_BeforeAddRecord (Object, CancelEventArgs) Event handler for the BeforeAddRecord event of the smartUpdatableBrowser1
- smartUpdatableBrowser1_BeforeCellActivate (Object, CancelableCellEventArgs) Event handler for the BeforeCellActivate event of the smartUpdatableBrowser1
- smartUpdatableBrowser1_CellChange (Object, CellEventArgs) Event handler for the CellChange event of the smartUpdatableBrowser1
- smartUpdatableBrowser1_ClickCellButton (Object, CellEventArgs) Event handler for the ClickCellButton event of the smartUpdatableBrowser1
- smartUpdatableBrowser1_InitializeRow (Object, InitializeRowEventArgs) Event handler for the InitializeRow event of the smartUpdatableBrowser1

Top Constructor Summary
Options Name Purpose
+ ObjectTypeAttributesUserControl () Constructor for the ObjectTypeAttributesUserControl class

Top Event Summary
Options Name Purpose
+ HasChangesChanged DELEGATE System.EventHandler Raised when the control has changes that need to be saved

Top Property Summary
Options Name Purpose
# CHARACTER DesignerVerbs Property that is used to generate Designer Verbs (actions for the Visual Designer)
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ LOGICAL DesignTime Propery flags if the current instance of the SmartBindingSource is running at design time or runtime.
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ LOGICAL HasChanges Returns if the object has changes that need to be saved
# CHARACTER HiddenProperties Property that is used to mark properties (comma-delimited list) that will be excluded from the .NET TypeDescriptor properties list
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# CHARACTER NonBrowsableProperties Property that is used to mark properties (comma-delimited list) that should not show up in the Visual Designers Property Grid
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ CHARACTER ObjectTypeId Returns the Object Type Guid this Control is displaying attributes for
# LOGICAL ParentFormDestroyedSubscribed Returns if the FormDestroyed evengt of the containing Form has been subscribed
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl


Method Detail
Top

PROTECTED CreateVerbs ()

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

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

PRIVATE InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PROTECTED InitializeRow (UltraGridRow)

Purpose: Initializes the Attribute Value cell in the given UltraGridRow
Notes:

Parameters:
poRow Infragistics.Win.UltraWinGrid.UltraGridRow
The UltraGridRow to initialize
Top

PROTECTED OnHasChangesChanged (EventArgs)

Purpose: Raises the HasChangesChanged
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for the 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 ResetChanges ()

Purpose: Resets the changes in this uer control
Notes:

Top

PUBLIC SaveChanges (character)

Purpose: Saves the changes in this uer control
Notes:

Parameters:
pcObjectTypeId CHARACTER
The Object Type Id (for new records)
Top

PUBLIC ShowObjectTypeAttributes (character)

Purpose: Retrieves the SmartObejctType Attributes for design time
Notes:

Parameters:
pcObjectTypeId CHARACTER
the ID of the object type to retrieve
Top

PRIVATE smartTempTableAdapter1_AfterRetrieveData (Object, EventArgs)

Purpose: Event handler for the AfterRetrieveData event of the smartTempTableAdapter1
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

PRIVATE smartTempTableAdapter1_BeforeDeleteRecord (Object, BeforeDeleteRecordEventArgs)

Purpose: Event handler for the BeforeDeleteRecord event of the smartTempTableAdpater1
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Consultingwerk.SmartComponents.Implementation.BeforeDeleteRecordEventArgs
The AfterDeleteRecordEventArgs with the data for this event
Top

PRIVATE smartTempTableAdapter1_CurrentChanged (Object, EventArgs)

Purpose: Event handler for the CurrentChanged event of the smartTempTableAdpater1
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

PRIVATE smartUpdatableBrowser1_BeforeAddRecord (Object, CancelEventArgs)

Purpose: Event handler for the BeforeAddRecord event of the smartUpdatableBrowser1
Notes:

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

PRIVATE smartUpdatableBrowser1_BeforeCellActivate (Object, CancelableCellEventArgs)

Purpose: Event handler for the BeforeCellActivate event of the smartUpdatableBrowser1
Notes:

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

PRIVATE smartUpdatableBrowser1_CellChange (Object, CellEventArgs)

Purpose: Event handler for the CellChange event of the smartUpdatableBrowser1
Notes:

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

PRIVATE smartUpdatableBrowser1_ClickCellButton (Object, CellEventArgs)

Purpose: Event handler for the ClickCellButton event of the smartUpdatableBrowser1
Notes:

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

PRIVATE smartUpdatableBrowser1_InitializeRow (Object, InitializeRowEventArgs)

Purpose: Event handler for the InitializeRow event of the smartUpdatableBrowser1
Notes:

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


Constructor Detail
Top

PUBLIC ObjectTypeAttributesUserControl ()

Purpose: Constructor for the ObjectTypeAttributesUserControl class
Notes:



Event Detail
Top

PUBLIC HasChangesChanged DELEGATE System.EventHandler

Purpose: Raised when the control has changes that need to be saved
Notes:

Delegate: System.EventHandler


Property Detail
Top

PROTECTED CHARACTER DesignerVerbs

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Property that is used to generate Designer Verbs (actions for the
Visual Designer)
Notes:

Returns CHARACTER
Top

PUBLIC LOGICAL DesignTime

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
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

PUBLIC LOGICAL HasChanges

Purpose: Returns if the object has changes that need to be saved
Notes:

Returns LOGICAL
Top

PROTECTED CHARACTER HiddenProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
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

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
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

PUBLIC CHARACTER ObjectTypeId

Purpose: Returns the Object Type Guid this Control is displaying attributes
for
Notes:

Returns CHARACTER
Top

PROTECTED LOGICAL ParentFormDestroyedSubscribed

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
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:50:28