Namespace: Consultingwerk.BusinessEntityDesigner.Plugins.SmartViewerGenerator
Class 
SmartViewerWizard Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Forms.BaseForm
Implements: Consultingwerk.Forms.IBaseForm, ICustomTypeDescriptor, IHasDesignerVerbs, IHasSecurityKey

File:SmartViewerWizard
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Oct 20 23:16:18 CEST 2012



Top Method Summary
Options Name Purpose
btnAdd_Click (Object, EventArgs) Event handler for the Click event of the btnAdd
btnBack_Click (Object, EventArgs) Event handler for the Click event of the btnBack
btnFinish_Click (Object, EventArgs) Event handler for the Click event of the btnFinish
btnNext_Click (Object, EventArgs) Event handler for the Click event of the btnNext
btnRemove_Click (Object, EventArgs) Event handler for the Click event of the btnRemove
FillTreeViewWithTableNames () Walk through the Dataset TopBuffers and add all of them with their childs to the TreeView
GenerateViewer () Generates the Viewer Control
GetDatasetHandle (dataset) Binds to the Business Entity Designer Dataset
CHARACTER GetSelectedTopBuffer (character) Returns the first selected table to display in DataView and builds a list of all selected child tables from the given selected node
InitializeBindingSourceFields () Initializes the List of BindingSource Fields
InitializeComponent ()
InitializePage () Initializes a Page
CHARACTER InitialViewerName () Builds the initial/default Viewer Name
LookupKeyDownHandler (Object, KeyEventArgs) Event handler for the KeyDown handler of the Text boxes with an EditorButton (Lookup)
lvBusinessEntityFields_ItemDoubleClick (Object, ItemDoubleClickEventArgs) Event handler for the ItemDoubleClick event of the lvBusinessEntityFields
lvViewerFields_ItemDoubleClick (Object, ItemDoubleClickEventArgs) Event handler for the ItemDoubleClick event of the lvViewerFields
OnShown (EventArgs) Raises the Shown event
OpenFilesInIDE (character) Opens the generated files in the IDE
CHARACTER RecurseTreeNodeNames (TreeNodeCollection) Builds a list of all selected child tables from the given selected node
System.Windows.Forms.TreeNode RecurseTreeNodes (TreeNodeCollection) Returns the first selected table to display in DataView
tbViewerPackage_EditorButtonClick (Object, EditorButtonEventArgs) Event handler for the EditorButtonClick event of the tbViewerPackage
tbViewerPackage_TextChanged (Object, EventArgs) Event handler for the TextChanged event of the tbViewerPackage
LOGICAL ValidColumn (character) Returns true when the Column Name exists in the Column of the BindingSource Schema

Top Constructor Summary
Options Name Purpose
SmartViewerWizard () Constructor for the SmartViewerWizard class

Top Property Summary
Options Name Purpose
CHARACTER BusinessEntityName
CHARACTER BusinessEntityPackage
CHARACTER SavedPackageName


Method Detail
Top

btnAdd_Click (Object, EventArgs)

Purpose: Event handler for the Click event of the btnAdd
Notes:

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

btnBack_Click (Object, EventArgs)

Purpose: Event handler for the Click event of the btnBack
Notes:

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

btnFinish_Click (Object, EventArgs)

Purpose: Event handler for the Click event of the btnFinish
Notes:

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

btnNext_Click (Object, EventArgs)

Purpose: Event handler for the Click event of the btnNext
Notes:

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

btnRemove_Click (Object, EventArgs)

Purpose: Event handler for the Click event of the btnRemove
Notes:

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

FillTreeViewWithTableNames ()

Purpose: Walk through the Dataset TopBuffers and add all of them with their
childs to the TreeView
Notes:

Top

GenerateViewer ()

Purpose: Generates the Viewer Control
Notes:

Top

GetDatasetHandle (dataset)

Purpose: Binds to the Business Entity Designer Dataset
Notes:

Parameters:
dsBusinessEntity DATASET dsBusinessEntity
The dataset to bind to
Top

CHARACTER GetSelectedTopBuffer (character)

Purpose: Returns the first selected table to display in DataView and builds
a list of all selected child tables from the given selected node
Notes: Returns the name of the SelectedTopBuffer with a list of checked
nodes or returns the TreeNode object of the SelectedTopBuffer

Parameters:
cCheckedNodes CHARACTER
The list of all selected child tables from the given selected node
Returns CHARACTER
The name of the first selected table to display in DataView
Top

InitializeBindingSourceFields ()

Purpose: Initializes the List of BindingSource Fields
Notes:

Top

InitializeComponent ()


Top

InitializePage ()

Purpose: Initializes a Page
Notes:

Top

CHARACTER InitialViewerName ()

Purpose: Builds the initial/default Viewer Name
Notes:

Returns CHARACTER
The initial/detault Viewer Name
Top

LookupKeyDownHandler (Object, KeyEventArgs)

Purpose: Event handler for the KeyDown handler of the Text boxes with an
EditorButton (Lookup)
Notes: Maps F3 to EditorButtonClick

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

lvBusinessEntityFields_ItemDoubleClick (Object, ItemDoubleClickEventArgs)

Purpose: Event handler for the ItemDoubleClick event of the lvBusinessEntityFields
Notes:

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

lvViewerFields_ItemDoubleClick (Object, ItemDoubleClickEventArgs)

Purpose: Event handler for the ItemDoubleClick event of the lvViewerFields
Notes:

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

OnShown (EventArgs)

Purpose: Raises the Shown event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for the Shown event
Top

OpenFilesInIDE (character)

Purpose: Opens the generated files in the IDE
Notes:

Parameters:
pcFileNames CHARACTER
The list of file names
Top

CHARACTER RecurseTreeNodeNames (TreeNodeCollection)

Purpose: Builds a list of all selected child tables from the given selected
node
Notes:

Parameters:
oNodeCollection System.Windows.Forms.TreeNodeCollection
The collection of tree nodes
Returns CHARACTER
The comma delimited list of selected child tables of in the nodes collection
Top

System.Windows.Forms.TreeNode RecurseTreeNodes (TreeNodeCollection)

Purpose: Returns the first selected table to display in DataView
Notes:

Parameters:
oNodeCollection System.Windows.Forms.TreeNodeCollection
The collection of tree nodes
Returns System.Windows.Forms.TreeNode
The first selected TreeNode
Top

tbViewerPackage_EditorButtonClick (Object, EditorButtonEventArgs)

Purpose: Event handler for the EditorButtonClick event of the tbViewerPackage
Notes:

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

tbViewerPackage_TextChanged (Object, EventArgs)

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

LOGICAL ValidColumn (character)

Purpose: Returns true when the Column Name exists in the Column of the BindingSource Schema
Notes:

Parameters:
pcColumnName CHARACTER
The name of the column to test for
Returns LOGICAL
True when the Column Name exists in the Column of the BindingSource Schema


Constructor Detail
Top

SmartViewerWizard ()

Purpose: Constructor for the SmartViewerWizard class
Notes:



Property Detail
Top

CHARACTER BusinessEntityName


Returns CHARACTER
Top

CHARACTER BusinessEntityPackage


Returns CHARACTER
Top

CHARACTER SavedPackageName


Returns CHARACTER


ProDataset Detail

ProDataset dsBusinessEntity

Member tables: eBusinessEntity, eDataRelation, eDataRelationProperties, eTable, eField, eFieldProperties, eIndex, eIndexProperties, eTableProperties, eBusinessEntityProperties


Temp-Table Detail

Temp-Table eBusinessEntity

Defined in:

Temp-Table eBusinessEntityProperties

Defined in:

Temp-Table eDataRelation

Defined in:

Temp-Table eDataRelationProperties

Defined in:

Temp-Table eField

Defined in:

Temp-Table eFieldProperties

Defined in:

Temp-Table eIndex

Defined in:

Temp-Table eIndexProperties

Defined in:

Temp-Table eTable

Defined in:

Temp-Table eTableProperties

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:20:37