Top Method Summary
Options Name Purpose
- BrowserInitializeLayout (Object, InitializeLayoutEventArgs) Event handler for the InitializeLayout event of the UltraGrid instance
+ CHARACTER GetLookupFieldValue (character) Returns a Field Value from the Data Adapter
- InitializeDatabinding (Object, EventArgs) Event handler for the Shown event of the Dialog
- RestoreLookupSettings () Restores the Lookup Settings from the Setting Service
+ SmartDataBrowserDefaultActionHandler (SmartDataBrowser, EventArgs) Method to be executed inside the class which implements the Interface IDefaultActionSubscriber.
- StoreLookupSettings (Object, EventArgs) Event handler for the Close event of the Dialog

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

Top Property Summary
Options Name Purpose
+ Infragistics.Win.UltraWinGrid.UltraGrid LookupBrowser Returns the reference to the Lookup Browser
+ CHARACTER LookupBrowserFields Fields to be shown in the SmartDataBrowser
+ CHARACTER LookupKeyField Field that is returned by the SmartLookup
+ Consultingwerk.SmartComponents.Base.SmartDataAdapter SmartDataSource Get's and set's the reference to the SmartDataAdapter that is the data source to the SmartGenericLookupDialog


Method Detail
Top

PRIVATE BrowserInitializeLayout (Object, InitializeLayoutEventArgs)

Purpose: Event handler for the InitializeLayout event of the UltraGrid instance
Notes: Make sure that only the given list of LookupBrowserFields are visible
If LookupBrowserFields is an empty string all columns will bwe shown

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

PUBLIC CHARACTER GetLookupFieldValue (character)

Purpose: Returns a Field Value from the Data Adapter
Notes:

Parameters:
pcFieldName CHARACTER
The name of the Field to return
Returns CHARACTER
The value of the field
Top

PRIVATE InitializeDatabinding (Object, EventArgs)

Purpose: Event handler for the Shown event of the Dialog
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 RestoreLookupSettings ()

Purpose: Restores the Lookup Settings from the Setting Service
Notes:

Top

PUBLIC SmartDataBrowserDefaultActionHandler (SmartDataBrowser, EventArgs)

Purpose: Method to be executed inside the class which implements the Interface
IDefaultActionSubscriber.
Notes: Invoked by the SmartDataBrowser Instance if the DefaultActionHandler
Method is executed.

Parameters:
sender Consultingwerk.SmartComponents.Implementation.SmartDataBrowser
The reference to the Instance of the SmartDataBrowser which has invoked the Method
e System.EventArgs
The System.EventArgs with the data for this event
Top

PRIVATE StoreLookupSettings (Object, EventArgs)

Purpose: Event handler for the Close event of the Dialog
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 SmartGenericLookupDialog ()

Purpose: Constructor for the SmartGenericLookupDialog class
Notes:

Top

PUBLIC SmartGenericLookupDialog (SmartLookup)

Purpose: Constructor for the SmartGenericLookupDialog class
Notes:

Parameters:
poSmartLookup Consultingwerk.SmartComponents.Base.SmartLookup
The reference to the SmartLookup instance


Property Detail
Top

PUBLIC Infragistics.Win.UltraWinGrid.UltraGrid LookupBrowser

Purpose: Returns the reference to the Lookup Browser
Notes:

Returns Infragistics.Win.UltraWinGrid.UltraGrid
Top

PUBLIC CHARACTER LookupBrowserFields

Purpose: Fields to be shown in the SmartDataBrowser
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER LookupKeyField

Purpose: Field that is returned by the SmartLookup
Notes:

Returns CHARACTER
Top

PUBLIC Consultingwerk.SmartComponents.Base.SmartDataAdapter SmartDataSource

Purpose: Get's and set's the reference to the SmartDataAdapter that is the
data source to the SmartGenericLookupDialog
Notes:

Returns Consultingwerk.SmartComponents.Base.SmartDataAdapter


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