Namespace: Consultingwerk.Windows.Framework.Repository.Class
Class 
ObjectTypeAttributesUserControl Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
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
# CellChangeHandler (Object, CellEventArgs) Event handler for the CellChangeHandler of the smartUpdatableBrowser1
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
# CreateAttributeSearchField (SmartPanelController) Creates the Search Controls
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
# 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
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
- LookupBrowser_InitializeLayout (Object, InitializeLayoutEventArgs) Event handler for the InitializeLayout event of the LookupBrowser
# OnHasChangesChanged (EventArgs) Raises the HasChangesChanged
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
# 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 user control
# SearchAttributes (character) Searches for Attributes
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
+ SearchFieldEditorButtonClickHandler (Object, EditorButtonEventArgs) Event handler for the EditorButtonClick event of the SearchField
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
# SearchFieldKeyDownHandler (Object, KeyEventArgs) Event handler for the KeyDown event of the SearchField
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
# SetUpdatableBrowser (SmartUpdatableBrowser) Assigns the reference to the SmartUpdatableBrowser the base control is operating with
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
+ ShowObjectTypeAttributes (character) Retrieves the SmartObjectType 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 smartTempTableAdapter1
- smartTempTableAdapter1_CurrentChanged (Object, EventArgs) Event handler for the CurrentChanged event of the smartTempTableAdapter1
- 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
+ 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

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
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl

Top Property Summary
Options Name Purpose
# CHARACTER DesignerVerbs
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ LOGICAL DesignTime
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ LOGICAL HasChanges
Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
# CHARACTER HiddenProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# CHARACTER NonBrowsableProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ CHARACTER ObjectTypeId
# LOGICAL ParentFormDestroyedSubscribed
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# LOGICAL UserControlEventsSubscribed
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl


Method Detail
Top

PROTECTED CellChangeHandler (Object, CellEventArgs)

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
Purpose: Event handler for the CellChangeHandler 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

PROTECTED CreateAttributeSearchField (SmartPanelController)

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
Purpose: Creates the Search Controls
Notes:

Parameters:
poPanelController SmartPanelController
The reference to the SmartPanelController
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)

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
Purpose: Initializes the Attribute Value cell in the given UltraGridRow
Notes:

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

PRIVATE LookupBrowser_InitializeLayout (Object, InitializeLayoutEventArgs)

Purpose: Event handler for the InitializeLayout event of the LookupBrowser
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs
The
Top

PROTECTED OnHasChangesChanged (EventArgs)

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
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 user control
Notes:

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

PROTECTED SearchAttributes (character)

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
Purpose: Searches for Attributes
Notes:

Parameters:
pcSearchText CHARACTER
The text to search for
Top

PUBLIC SearchFieldEditorButtonClickHandler (Object, EditorButtonEventArgs)

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
Purpose: Event handler for the EditorButtonClick event of the SearchField
Notes:

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

PROTECTED SearchFieldKeyDownHandler (Object, KeyEventArgs)

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
Purpose: Event handler for the KeyDown event of the SearchField
Notes:

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

PROTECTED SetUpdatableBrowser (SmartUpdatableBrowser)

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
Purpose: Assigns the reference to the SmartUpdatableBrowser the base control
is operating with
Notes:

Parameters:
poBrowser SmartUpdatableBrowser
The SmartUpdatableBrowser instance
Top

PUBLIC ShowObjectTypeAttributes (character)

Purpose: Retrieves the SmartObjectType 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 smartTempTableAdapter1
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 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 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
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



Constructor Detail
Top

PUBLIC ObjectTypeAttributesUserControl ()

Purpose: Constructor for the ObjectTypeAttributesUserControl class
Notes:



Event Detail
Top

PUBLIC HasChangesChanged DELEGATE System.EventHandler

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl
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

Returns CHARACTER
Top

PUBLIC LOGICAL DesignTime

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL
Top

PUBLIC LOGICAL HasChanges

Inherited from Consultingwerk.Windows.Framework.Repository.AttributeValueBaseControl

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

PUBLIC CHARACTER ObjectTypeId


Returns CHARACTER
Top

PROTECTED LOGICAL ParentFormDestroyedSubscribed

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL
Top

PROTECTED LOGICAL UserControlEventsSubscribed

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL


Temp-Table Detail


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:20:15