Namespace: Consultingwerk.SmartComponents.Implementation
Class 
SmartDataCombo Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartComponents.Base.SmartComboControl
Implements: ISmartDataTarget, ISmartDataTargetWithBindingSource

File:SmartDataCombo
Author(s):Marko Rüterbories / Consultingwerk Ltd.
Created:Wed Feb 25 16:20:58 CET 2009
Purpose: Creates a new Instance of SmartDataCombo and subscribes Handlers to
Events.
Notes:



Top Method Summary
Options Name Purpose
+ AttachBindingSource (BindingSource) This Method attaches a new BindingSource given as the Parameter poBindingSource to the Objects of the current Class. The new BindingSource may be created by a DataAdapter or borrowed from a Browser. It is called by the SmartDataAdapter Class when creating a new BindingSource or when a new SmartDataSource is registered to the Class implementing the Interface ISmartDataTarget.
Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
# BeginUpdateStateHandler (Object, DataSourceUpdateStateEventArgs) Event handler for the BeginUpdateState event of the SmartDataSource
Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
# DisableForUpdate (ISmartDataTarget) Disable the Controls during an Update. This Method is called by the SmartDataAdapter by a call to BeginUpdateState () which is defined in the Interface ISmartDataSource. Enforced by Interface ISmartDataTarget.
Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
# DisposedHandler (Object, EventArgs) Event handler for the Disposed event of this instance
Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
# EnableAfterUpdate () Enable the Controls after an Update. This Method is called by the SmartDataAdapter when setting the SmartDataSourceState Property to Navigatable. Enforced by Interface ISmartDataTarget.
Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
# EndUpdateStateHandler (Object, DataSourceUpdateStateEventArgs) Event handler for the EndUpdateState event of the SmartDataSource
Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
+ EvaluateTableIOState () This Method is not needed here but enforced by the Interface ISmartDataTarget.
Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
- InitializeLayoutHandler (Object, InitializeLayoutEventArgs) This Method hides _ columns from Grid and ColumnChooser. All Bands and Columns are tested.
# OnBeginInit () Invoked at the beginning of a Containers InitializeComponents method
Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
# OnEndInit () Invoked at the end of a Containers InitializeComponents method
Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl

Top Constructor Summary
Options Name Purpose
+ SmartDataCombo () Creates a new Instance of SmartDataCombo and subscribes Handlers to Events.

Top Property Summary
Options Name Purpose
+ Progress.Data.BindingSource BindingSource
Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
# LOGICAL DesignTime
Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
+ LOGICAL Initializing
Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
+ Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataSource LinkDataSource
Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
+ ISmartDataSource SmartDataSource
Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl


Method Detail
Top

PUBLIC AttachBindingSource (BindingSource)

Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
Purpose: This Method attaches a new BindingSource given as the Parameter
poBindingSource to the Objects of the current Class. The new
BindingSource may be created by a DataAdapter or borrowed from a
Browser.
It is called by the SmartDataAdapter Class when creating a new
BindingSource or when a new SmartDataSource is registered to the
Class implementing the Interface ISmartDataTarget.
Notes: Enforced by Interface ISmartDataTarget.

Parameters:
poBindingSource Progress.Data.BindingSource
The BindingSource to be attached to the Grids DataSource Property
Top

PROTECTED BeginUpdateStateHandler (Object, DataSourceUpdateStateEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
Purpose: Event handler for the BeginUpdateState event of the SmartDataSource
Notes:

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

PROTECTED DisableForUpdate (ISmartDataTarget)

Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
Purpose: Disable the Controls during an Update.
This Method is called by the SmartDataAdapter by a call to
BeginUpdateState () which is defined in the Interface ISmartDataSource.
Enforced by Interface ISmartDataTarget.
Notes:

Parameters:
poSmartDataTarget ISmartDataTarget
The reference to the ISmartDataTarget instance that is in update state now
Top

PROTECTED DisposedHandler (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
Purpose: Event handler for the Disposed event of this instance
Notes:

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

PROTECTED EnableAfterUpdate ()

Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
Purpose: Enable the Controls after an Update.
This Method is called by the SmartDataAdapter when setting the
SmartDataSourceState Property to Navigatable.
Enforced by Interface ISmartDataTarget.
Notes: Use this only in a Browser!

Top

PROTECTED EndUpdateStateHandler (Object, DataSourceUpdateStateEventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
Purpose: Event handler for the EndUpdateState event of the SmartDataSource
Notes:

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

PUBLIC EvaluateTableIOState ()

Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
Purpose: This Method is not needed here but enforced by the Interface
ISmartDataTarget.
Notes: Required only for visual DataTagets (Viewer)

Top

PRIVATE InitializeLayoutHandler (Object, InitializeLayoutEventArgs)

Purpose: This Method hides _ columns from Grid and ColumnChooser. All Bands and
Columns are tested.
Notes: Event handler for the InizializeLayout event of the UltraGrid (parent
class).

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

PROTECTED OnBeginInit ()

Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
Purpose: Invoked at the beginning of a Containers InitializeComponents
method
Notes: Enforced by System.ComponentModel.ISupportInitialize
http://msdn.microsoft.com/de-de/library/system.componentmodel.isupportinitialize.begininit(VS.80).aspx

Top

PROTECTED OnEndInit ()

Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl
Purpose: Invoked at the end of a Containers InitializeComponents method
Notes: Enforced by System.ComponentModel.ISupportInitialize
http://msdn.microsoft.com/de-de/library/system.componentmodel.isupportinitialize.endinit(VS.80).aspx



Constructor Detail
Top

PUBLIC SmartDataCombo ()

Purpose: Creates a new Instance of SmartDataCombo and subscribes Handlers to
Events.
Notes:



Property Detail
Top

PUBLIC Progress.Data.BindingSource BindingSource

Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl

Returns Progress.Data.BindingSource
Top

PROTECTED LOGICAL DesignTime

Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl

Returns LOGICAL
Top

PUBLIC LOGICAL Initializing

Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl

Returns LOGICAL
Top

PUBLIC Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataSource LinkDataSource

Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl

Returns Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataSource
Top

PUBLIC ISmartDataSource SmartDataSource

Inherited from Consultingwerk.SmartComponents.Base.SmartComboControl

Returns ISmartDataSource


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       14.08.2022 21:32:11