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

File:SmartWindowWizard
Purpose:Wizard for creating a SmartWindowForm from a Business
Entity Model
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Oct 20 21:40:10 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
GenerateWindow () Generates the SmartWindowForm based on the entered values
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
CHARACTER InitialDatasetControllerName () Returns the proposed name for the DatasetController
CHARACTER InitialFormName () Builds the initial/default Form Name
CHARACTER InitialFormTitle () Builds the initial/default Form Title
InitializeBindingSourceFields () Initializes the List of BindingSource Fields
InitializeComponent ()
InitializePage () Initializes a Page
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
tbDatasetControllerName_EditorButtonClick (Object, EditorButtonEventArgs) Event handler for the EditorButtonClick event of the tbDatasetControllerName
tbFormPackage_EditorButtonClick (Object, EditorButtonEventArgs) Event handler for the EditorButtonClick event of the tbFormPackage
tbFormPackage_TextChanged (Object, EventArgs) Event handler for the TextChanged event of the tbFormPackage
tbViewerName_EditorButtonClick (Object, EditorButtonEventArgs) Event handler for the EditorButtonClick event of the tbViewerName
LOGICAL ValidColumn (character) Returns true when the Column Name exists in the Column of the BindingSource Schema

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

Top Property Summary
Options Name Purpose
CHARACTER BusinessEntityName
CHARACTER BusinessEntityPackage
CHARACTER DatasetControllerName
CHARACTER DatasetControllerPackage
CHARACTER FormNameLabel
CHARACTER FormNameSuffix
CHARACTER FormTitleLabel
CHARACTER ResxTemplateName
CHARACTER TemplateName


Method Detail
Top

btnAdd_Click (Object, EventArgs)

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

btnBack_Click (Object, EventArgs)

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

btnFinish_Click (Object, EventArgs)

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

btnNext_Click (Object, EventArgs)

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

btnRemove_Click (Object, EventArgs)

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

FillTreeViewWithTableNames ()

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

Top

GenerateWindow ()

Purpose: Generates the SmartWindowForm based on the entered values
Notes:

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

CHARACTER InitialDatasetControllerName ()

Purpose: Returns the proposed name for the DatasetController
Notes:

Returns CHARACTER
The proposed name for the DatasetController
Top

CHARACTER InitialFormName ()

Purpose: Builds the initial/default Form Name
Notes:

Returns CHARACTER
The initial/default Form Name
Top

CHARACTER InitialFormTitle ()

Purpose: Builds the initial/default Form Title
Notes: Text Property of the generated Form

Returns CHARACTER
The initial/default Form Title
Top

InitializeBindingSourceFields ()

Purpose: Initializes the List of BindingSource Fields
Notes:

Top

InitializeComponent ()


Top

InitializePage ()

Purpose: Initializes a Page
Notes:

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 names of the files to open
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

tbDatasetControllerName_EditorButtonClick (Object, EditorButtonEventArgs)

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

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

tbFormPackage_EditorButtonClick (Object, EditorButtonEventArgs)

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

tbFormPackage_TextChanged (Object, EventArgs)

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

tbViewerName_EditorButtonClick (Object, EditorButtonEventArgs)

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

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

SmartWindowWizard ()

Purpose: Constructor for the SmartWindowWizard class
Notes:



Property Detail
Top

CHARACTER BusinessEntityName


Returns CHARACTER
Top

CHARACTER BusinessEntityPackage


Returns CHARACTER
Top

CHARACTER DatasetControllerName


Returns CHARACTER
Top

CHARACTER DatasetControllerPackage


Returns CHARACTER
Top

CHARACTER FormNameLabel


Returns CHARACTER
Top

CHARACTER FormNameSuffix


Returns CHARACTER
Top

CHARACTER FormTitleLabel


Returns CHARACTER
Top

CHARACTER ResxTemplateName


Returns CHARACTER
Top

CHARACTER TemplateName


Returns CHARACTER


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