Namespace: Consultingwerk.SmartComponents.Base
Class 
SmartWindowForm Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Forms.BaseForm
Implements: IBaseForm, System.ComponentModel.ICustomTypeDescriptor, Consultingwerk.SmartComponents.IHasDesignerVerbs, Consultingwerk.SmartComponents.Interfaces.IHasPrimaryDataSourceAndTarget, IHasSecurityKey, Consultingwerk.SmartComponents.Interfaces.ISmartToolbarTarget, Consultingwerk.SmartComponents.Interfaces.ISmartWindowForm
Inherited by: Consultingwerk.SmartComponents.Base.SmartLookupDialogForm Consultingwerk.SmartComponents.Base.SmartMDIContainer Consultingwerk.SmartComponents.BaseForms.BusinessEntityAdapter.SmartMasterDetailAdapterForm Consultingwerk.SmartComponents.BaseForms.BusinessEntityAdapter.SmartSingleAdapterForm Consultingwerk.SmartComponents.BaseForms.SmartBaseDialogForm Consultingwerk.SmartComponents.BaseForms.TabFolder.SmartTabFolderForm Consultingwerk.Web.Studio.Viewer.WebViewerDesignerForm Consultingwerk.Windows.Framework.Authentication.SmartUserMaintenanceForm Consultingwerk.Windows.Framework.Authorization.MassSecurityAssignmentForm Consultingwerk.Windows.Framework.Authorization.SmartAuthorizationAssignmentVerificationForm Consultingwerk.Windows.Framework.Authorization.SmartFieldSecurityItemForm Consultingwerk.Windows.Framework.Authorization.SmartGroupMaintenanceForm Consultingwerk.Windows.Framework.Authorization.SmartMenuSecurityMaintenanceForm Consultingwerk.Windows.Framework.Authorization.SmartSecurityAssignmentForm Consultingwerk.Windows.Framework.Authorization.SmartSecurityObjectForm Consultingwerk.Windows.Framework.Authorization.SmartSecurityRealmForm Consultingwerk.Windows.Framework.Authorization.SmartSecurityTokenForm Consultingwerk.Windows.Framework.Authorization.SmartToolbarSecurityItemForm Consultingwerk.Windows.Framework.Authorization.SmartUserAndGroupSelectionForm Consultingwerk.Windows.Framework.Authorization.UserAuthorizationReportForm Consultingwerk.Windows.Framework.Authorization.UserGroupReportForm Consultingwerk.Windows.Framework.Localization.ResourceTranslationMaintenanceForm Consultingwerk.Windows.Framework.Menu.ReorderMenuItemsForm Consultingwerk.Windows.Framework.Menu.SmartFunctionMaintenanceForm Consultingwerk.Windows.Framework.Menu.SmartMenuMaintenanceForm Consultingwerk.Windows.Framework.Menu.SmartMenuStyleForm Consultingwerk.Windows.Framework.Menu.SmartModuleMaintenanceForm Consultingwerk.Windows.Framework.Menu.SmartProductForm Consultingwerk.Windows.Framework.Reference.MainMenuForm Consultingwerk.Windows.Framework.Repository.AngularPreview.AngularPreviewForm Consultingwerk.Windows.Framework.Repository.Class.SmartAttributeForm Consultingwerk.Windows.Framework.Repository.Class.SmartAttributeGroupForm Consultingwerk.Windows.Framework.Repository.Class.SmartClassTypeForm Consultingwerk.Windows.Framework.Repository.Class.SmartLinkTypeForm Consultingwerk.Windows.Framework.Repository.Class.SmartObjectTypeForm Consultingwerk.Windows.Framework.Repository.Class.UnsupportedAttributesReportForm Consultingwerk.Windows.Framework.Repository.Customization.SmartCustomizationForm Consultingwerk.Windows.Framework.Repository.Customization.SmartCustomizationTypeForm Consultingwerk.Windows.Framework.Repository.ExportImport.ExportImportForm Consultingwerk.Windows.Framework.Repository.Field.SmartEntityFieldMappingForm Consultingwerk.Windows.Framework.Repository.MergeUtil.ObjectMasterMergeForm Consultingwerk.Studio.LegacyGuiMigration.Browse.AblBrowseMigrationForm Consultingwerk.Studio.LegacyGuiMigration.BrowseAblGuiFileDialogForm Consultingwerk.Studio.LegacyGuiMigration.Frame.AblFrameMigrationForm Consultingwerk.SmartComponents.Tools.BusinessEntityBrowser.BusinessEntityBrowserForm Consultingwerk.SmartComponents.Tools.DynamicLookupDesigner.DynamicLookupDesignerForm Consultingwerk.SmartComponents.Tools.ManageClassPath.ManageClassPathForm Consultingwerk.SmartComponents.Tools.OERABusinessEntityTester.UserTableStatsForm Consultingwerk.BusinessEntityDesigner.Plugins.BusinessEntityRelations.RelationDesignerForm Consultingwerk.BusinessEntityDesigner.UI.BrowseBedgmFileDialogForm Consultingwerk.BusinessEntityDesigner.UI.BusinessEntityDesignerForm Consultingwerk.BusinessEntityDesigner.UI.BusinessEntityDesignerSettingsForm Consultingwerk.BusinessEntityDesigner.UI.CustomPropertiesEditorForm Consultingwerk.BusinessEntityDesigner.UI.DataRelationFieldPickerForm Consultingwerk.BusinessEntityDesigner.UI.FieldEditorForm Consultingwerk.BusinessEntityDesigner.UI.FieldRemovedPromptForm Consultingwerk.BusinessEntityDesigner.UI.NewFieldInIncludeFileForm Consultingwerk.BusinessEntityDesigner.UI.RenameMoveDialog Consultingwerk.BusinessEntityDesigner.UI.ReorderFieldsForm Consultingwerk.Windows.Framework.Repository.Object.OpenObjectMasterDialogForm Consultingwerk.Windows.Framework.Repository.Object.ParentObjectInstanceLookupDialog Consultingwerk.Windows.Framework.Repository.Object.SmartObjectMasterForm Consultingwerk.Windows.Framework.Repository.Object.SmartObjectMasterMultiUpdateForm Consultingwerk.Windows.Framework.Repository.Rendering.DynamicForm Consultingwerk.Windows.Framework.Repository.Rendering.DynamicFormWithRibbon Consultingwerk.Windows.Framework.Repository.RepositoryIntegrityReportForm Consultingwerk.Windows.Framework.Repository.ScreenMapping.SmartEntityTableMappingForm Consultingwerk.Windows.Framework.Repository.ScreenMapping.SmartScreenTypeForm Consultingwerk.Windows.Framework.Repository.ScreenMapping.SmartUiTypeForm Consultingwerk.Windows.Framework.Scheduler.SmartSchedulerJobForm Consultingwerk.Windows.Framework.Scheduler.SmartSchedulerJobPlanForm Consultingwerk.Windows.Framework.Scheduler.SmartSchedulerJobStatusForm Consultingwerk.Windows.Framework.System.ExportImportMetaDataForm Consultingwerk.Windows.Framework.System.LanguageSelectionForm Consultingwerk.Windows.Framework.System.MenuTranslationMaintenanceForm Consultingwerk.Windows.Framework.System.SelectRelationsToImportForm Consultingwerk.Windows.Framework.System.SmartAttachmentRoleForm Consultingwerk.Windows.Framework.System.SmartBusinessEntityForm Consultingwerk.Windows.Framework.System.SmartCommentRoleForm Consultingwerk.Windows.Framework.System.SmartDeletionForm Consultingwerk.Windows.Framework.System.SmartFieldsWizard Consultingwerk.Windows.Framework.System.SmartKeyFieldAssignmentTypeForm Consultingwerk.Windows.Framework.System.SmartLanguageMaintenanceForm Consultingwerk.Windows.Framework.System.SmartLoginCompanyMaintenanceForm Consultingwerk.Windows.Framework.System.SmartMessageForm Consultingwerk.Windows.Framework.System.SmartModifiedStateForm Consultingwerk.Windows.Framework.System.SmartRelationForm Consultingwerk.Windows.Framework.System.SmartTableForm Consultingwerk.Windows.Framework.System.SmartTranslationForm Consultingwerk.Windows.Framework.System.SmartUiTranslationForm Consultingwerk.Windows.Framework.System.SmartValueListForm Consultingwerk.Windows.Framework.System.TranslateFromSourceCodeDialog Consultingwerk.Windows.Framework.Web.SmartRouteForm Consultingwerk.Windows.Framework.Workflow.SmartWorkflowForm Consultingwerk.Windows.Framework.Workflow.WorkflowInstanceForm




Top Method Summary
Options Name Purpose
ActivateLinks (Control) Activates the Links between the active control and the SmartToolbarController
ActivateSmartControl (Control) Marks a SmartViewerControl or SmartBrowserControl as Active
ChildSmartTableIOStateChangedHandler (Object, SmartTableIOStateChangedEventArgs) Event handler for the SmartTableIOStateChanged event of the contained SmartViewer and SmartUpdatableBrowser instances
DeactivateHandler (Object, EventArgs) Event handler for the Deactivate event
DeactivateTimerTick (Object, EventArgs) Handles the Tick of the Deactivate Timer component
DisablePagesInFolder (character) Disables a list of pages
DisplayDirtyState () Displays the DirtyState in the Window Title
EnableDisablePagesInFolder (character, logical) Enables or Disables a list of pages
EnablePagesInFolder (character) Enables a list of pages
Consultingwerk.SmartComponents.Base.ListSmartDataAdapter GetLinkedDataAdapters () Returns a List of Data Adapter instances in the Form
Consultingwerk.SmartComponents.Base.ListSmartDataAdapter GetLinkedDataAdapters (SmartDataAdapter) Returns a List of Data Adapter instances in the Form
GetLinkedDataAdapters (SmartDataAdapter, ListSmartDataAdapter) Add linked SmartDataAdapter instances to a List
Consultingwerk.SmartComponents.Interfaces.ISmartToolbarControl GetToolbar () Returns the reference to the ISmartToolbarControl of the ISmartWindowForm
InitializeFormLogicObject () Initializes the Form Logic Object
LockForm () Locks the Form
LockForm (Form) Locks the Form
OnActiveSmartControlChanged (EventArgs) Raises the ActiveSmartControlChanged event
OnDirtyStateChanged (EventArgs) Raises the DirtyStateChanged
OnExternalDataSourceChanged (EventArgs) Raises the ExternalDataSourceChanged event
OnExternalNavigationTargetChanged (EventArgs) Raises the OnExternalNavigationTargetChanged
OnFormClosed (FormClosedEventArgs) Raises the FormClosed event
OnFormClosing (FormClosingEventArgs) Checks whether it is ok to close the form. If not the FormClosing process is canceled.
OnGenericEvent (EventArgs) Raises the GenericEvent
OnLoad (EventArgs) Raises the Load event
OnPrimaryDataSourceChanged (EventArgs) Raises the PrimaryDataSourceChanged event
OnPrimaryDataTargetChanged (EventArgs) Raises the PrimaryDataTargetChanged event
OnPrimaryNavigationSourceChanged (EventArgs) Raises the PrimaryNavigationSourceChanged
OnShown (EventArgs) Raises the Shown event
OnSmartToolbarControllerChanged () Internal event handler
Consultingwerk.Framework.Enum.DialogResultEnum PromptForSaveOfPendingChangesOnClose () Shows the Prompt to save pending transactions to the backend while closing the Form
RaiseGenericEvent (EventArgs) Raises the Generic Event
LOGICAL RaiseToolbarAction (Object, ToolClickEventArgs, character) Executes a Toolbar Action
LOGICAL RecurseCheckIsOkToClose (Control+ControlCollection, logical, CloseReason) Recursively ask all Controls implementing the ICheckOkToClose Interface whether it is ok to close the form.
LOGICAL RecurseSaveChangesOnDeactivateForm (Control+ControlCollection, logical) Recursively checks all contained controls to save changes on Deactivate of the Form
RecurseSubscribeDirtyStateEvents (Control) Subscribes to the SmartTableIOStateChanged events of Viewers and SmartUpdatableBrowsers
RegisterToolbarButtonHandler (UltraToolbarsManager, character, character, character) Registers a handler for the ToolClick event of a specific button
RegisterToolbarButtonMenuFunction (UltraToolbarsManager, character, character, character) Registers a handler for the ToolClick event of a specific button
SetDesignerProperties () Sets Properties to customize Visual Designer behavior
SmartWindowFormToolClickHandler (Object, ToolClickEventArgs) Event handler for the ToolClick event
SubscribeDirtyStateEvents () Subscribes to the SmartTableIOStateChanged events of Viewers and SmartUpdatableBrowsers

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

Top Event Summary
Options Name Purpose
ActiveSmartControlChanged DELEGATE System.EventHandler Raised whenever the ActiveSmartSmartControl property has changed
DirtyStateChanged (Object, EventArgs) Raised when the DirtyState of the Window has changes
ExternalDataSourceChanged DELEGATE System.EventHandler Raised when the ExternalDataSource property changes
ExternalNavigationTargetChanged (Object, EventArgs) Raised when the ExternalNavigationSource property changes
GenericEvent (Object, EventArgs) Raised from custom logic
PrimaryDataSourceChanged DELEGATE System.EventHandler Raised when the PrimaryDataSource property changes
PrimaryDataTargetChanged DELEGATE System.EventHandler Raised when the PrimaryDataTarget property changes
PrimaryNavigationSourceChanged (Object, EventArgs) Raised when the PrimaryNavigationSource property changes

Top Property Summary
Options Name Purpose
System.Windows.Forms.Control ActiveSmartControl
LOGICAL DirtyState
Consultingwerk.SmartComponents.Interfaces.ISmartDataSource ExternalDataSource
Consultingwerk.SmartComponents.Interfaces.ISmartNavigationTarget ExternalNavigationTarget
CHARACTER FormAction
CHARACTER FormLogicClass
Consultingwerk.SmartComponents.Interfaces.ISmartFormLogic FormLogicObject
Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataSource PrimaryDataSource
Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataTarget PrimaryDataTarget
Consultingwerk.SmartComponents.Interfaces.Design.IDesignNavigationSource PrimaryNavigationSource
LOGICAL PromptForSaveOnApplicationLeave
LOGICAL PromptForSaveOnFormDeactivate
Consultingwerk.SmartComponents.Interfaces.ISmartToolbarSource SmartToolbarSource
Consultingwerk.SmartComponents.Base.SmartWindowFormController SmartWindowFormController
LOGICAL SupportsDirtyState


Method Detail
Top

ActivateLinks (Control)

Purpose: Activates the Links between the active control and the
SmartToolbarController
Notes: When the ActiveControl is a read-only Browse, we attempt to activate
the TableIO Link on another Data-Target of the Browsers SmartDataAdapter
That could be a Viewer with is linked to the same adapter

Parameters:
poActiveControl System.Windows.Forms.Control
The Control where the Links should be activated
Top

ActivateSmartControl (Control)

Purpose: Marks a SmartViewerControl or SmartBrowserControl as Active
Notes:

Parameters:
poControl System.Windows.Forms.Control
The reference to the Control that has become active
Top

ChildSmartTableIOStateChangedHandler (Object, SmartTableIOStateChangedEventArgs)

Purpose: Event handler for the SmartTableIOStateChanged event of the contained
SmartViewer and SmartUpdatableBrowser instances
Notes:

Parameters:
sender System.Object
The object that raised the event
e Consultingwerk.SmartComponents.Base.SmartTableIOStateChangedEventArgs
The SmartTableIOStateChangedEventArgs with the data for this event
Top

DeactivateHandler (Object, EventArgs)

Purpose: Event handler for the Deactivate event
Notes: Enables the times for the PromptForSaveOnFormDeactivate or
PromptForSaveOnApplicationLeave. Used to be OnDeactivate method
override, but that did lead to crashes at some customers on 11.1.0.005

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

DeactivateTimerTick (Object, EventArgs)

Purpose: Handles the Tick of the Deactivate Timer component
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

DisablePagesInFolder (character)

Purpose: Disables a list of pages
Notes: Seeks for the outermost UltraTab Control

Parameters:
pcPagesList CHARACTER
The comma delimited list of pages to Disable
Top

DisplayDirtyState ()

Purpose: Displays the DirtyState in the Window Title
Notes:

Top

EnableDisablePagesInFolder (character, logical)

Purpose: Enables or Disables a list of pages
Notes: Seeks for the outermost UltraTab Control

Parameters:
pcPagesList CHARACTER
The comma delimited list of pages to Disable
plEnable LOGICAL
Logical value indicating if the pages should be enabled or disabled
Top

EnablePagesInFolder (character)

Purpose: Enables a list of pages
Notes: Seeks for the outermost UltraTab Control

Parameters:
pcPagesList CHARACTER
The comma delimited list of pages to Disable
Top

Consultingwerk.SmartComponents.Base.ListSmartDataAdapter GetLinkedDataAdapters ()

Purpose: Returns a List of Data Adapter instances in the Form
Notes: Returns the PrimaryDataTarget (when that's a Data Adapter) and
the PrimaryDataSource as well as all their DataTarget instances

Returns Consultingwerk.SmartComponents.Base.ListSmartDataAdapter
The List of Data Adapter instances
Top

Consultingwerk.SmartComponents.Base.ListSmartDataAdapter GetLinkedDataAdapters (SmartDataAdapter)

Purpose: Returns a List of Data Adapter instances in the Form
Notes: Returns the PrimaryDataTarget (when that's a Data Adapter) and
the PrimaryDataSource or the poStart SmartDataAdapter instance
as well as all their DataTarget instances

Parameters:
poStart Consultingwerk.SmartComponents.Base.SmartDataAdapter
An optional reference to a SmartDataAdapter to use as the starting point
Returns Consultingwerk.SmartComponents.Base.ListSmartDataAdapter
The List of Data Adapter instances
Top

GetLinkedDataAdapters (SmartDataAdapter, ListSmartDataAdapter)

Purpose: Add linked SmartDataAdapter instances to a List
Notes: Used by GetLinkedDataAdapters (poStart)

Parameters:
poStart Consultingwerk.SmartComponents.Base.SmartDataAdapter
The reference to a SmartDataAdapter to use as the starting point
poList Consultingwerk.SmartComponents.Base.ListSmartDataAdapter
The list of SmartDataAdapters to add to
Top

Consultingwerk.SmartComponents.Interfaces.ISmartToolbarControl GetToolbar ()

Purpose: Returns the reference to the ISmartToolbarControl of the ISmartWindowForm
Notes:

Returns Consultingwerk.SmartComponents.Interfaces.ISmartToolbarControl
The reference to the ISmartToolbarControl of the ISmartWindowForm
Top

InitializeFormLogicObject ()

Purpose: Initializes the Form Logic Object
Notes: The SmartWindowForm will initialize the FormLogicClass during
OnLoad. The Form Logic Object will also not initialized when the
FormLogicObject instance is already set

Top

LockForm ()

Purpose: Locks the Form
Notes: Used by the ClientLockController. Calls into all Toolbars and
all ILockableControls

Top

LockForm (Form)

Purpose: Locks the Form
Notes: Used by the ClientLockController. Calls into all Toolbars and
all ILockableControls

Parameters:
poForm System.Windows.Forms.Form
The Form to lock
Top

OnActiveSmartControlChanged (EventArgs)

Purpose: Raises the ActiveSmartControlChanged event
Notes:

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

OnDirtyStateChanged (EventArgs)

Purpose: Raises the DirtyStateChanged
Notes:

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

OnExternalDataSourceChanged (EventArgs)

Purpose: Raises the ExternalDataSourceChanged event
Notes:

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

OnExternalNavigationTargetChanged (EventArgs)

Purpose: Raises the OnExternalNavigationTargetChanged
Notes:

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

OnFormClosed (FormClosedEventArgs)

Purpose: Raises the FormClosed event
Notes: Deletes the Form Instance when it has been closed.
See Progress K-Base Entry ID: P179041
Title: "User Controls that have events attached to them cause
parent forms to not get garbage collected"
Dialog Forms will not get deleted. Typically Dialog Forms will need
to return values to the calling Program using properties. This
requires that the dialog form is valid after the WAIT-FOR
ShowDialog statement.
(Dialog Forms are detected using the Modal property)

Parameters:
e System.Windows.Forms.FormClosedEventArgs
A FormClosedEventArgs that contains the event data.
Top

OnFormClosing (FormClosingEventArgs)

Purpose: Checks whether it is ok to close the form. If not the FormClosing
process is canceled.
Notes:

Parameters:
e System.Windows.Forms.FormClosingEventArgs
The FormClosingEventArgs with the data for this event
Top

OnGenericEvent (EventArgs)

Purpose: Raises the GenericEvent
Notes:

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

OnLoad (EventArgs)

Purpose: Raises the Load event
Notes: Passes though the ExternalDataSource to the PrimaryDataTarget

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

OnPrimaryDataSourceChanged (EventArgs)

Purpose: Raises the PrimaryDataSourceChanged event
Notes:

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

OnPrimaryDataTargetChanged (EventArgs)

Purpose: Raises the PrimaryDataTargetChanged event
Notes:

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

OnPrimaryNavigationSourceChanged (EventArgs)

Purpose: Raises the PrimaryNavigationSourceChanged
Notes:

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

OnShown (EventArgs)

Purpose: Raises the Shown event
Notes:

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

OnSmartToolbarControllerChanged ()

Purpose: Internal event handler
Notes: Invoked when the SmartToolbarController property changes

Top

Consultingwerk.Framework.Enum.DialogResultEnum PromptForSaveOfPendingChangesOnClose ()

Purpose: Shows the Prompt to save pending transactions to the backend while
closing the Form
Notes: Can be overridden by customers to change behavior

Returns Consultingwerk.Framework.Enum.DialogResultEnum
The DialogResultEnum value indicating "Yes" to save changes, "No" to not save changes and "Cancel" to not close the Form
Top

RaiseGenericEvent (EventArgs)

Purpose: Raises the Generic Event
Notes: Supports raising events from the Form Logic Class - it's recommended
to use a derived event arg to distinguish events. This method is package-protected
as it's only meant to be used from the SmartFormLogic class

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs
Top

LOGICAL RaiseToolbarAction (Object, ToolClickEventArgs, character)

Purpose: Executes a Toolbar Action
Notes:

Parameters:
sender System.Object
The reference to the control that raised the ToolClick event
e Infragistics.Win.UltraWinToolbars.ToolClickEventArgs
The ToolClickEventArgs with the data for the ToolClick event
pcToolbarAction CHARACTER
The name of the method to execute
Returns LOGICAL
Logical value indicating if the action was executed
Top

LOGICAL RecurseCheckIsOkToClose (Control+ControlCollection, logical, CloseReason)

Purpose: Recursively ask all Controls implementing the ICheckOkToClose Interface
whether it is ok to close the form.
Notes:

Parameters:
poControls System.Windows.Forms.Control+ControlCollection
The System.Windows.Forms.Control+ControlCollection Collection of Controls to iterate
plShowMessage LOGICAL
When TRUE a message is Shown explaining why it is not ok to close the parent form.
poCloseReason System.Windows.Forms.CloseReason
The System.Windows.Forms.CloseReason passed from then OnFormClosing Method of the parent form giving the reason who closes the form.
Returns LOGICAL
Logical value indicating if the Form can be closed or not.
Top

LOGICAL RecurseSaveChangesOnDeactivateForm (Control+ControlCollection, logical)

Purpose: Recursively checks all contained controls to save changes on
Deactivate of the Form
Notes:

Parameters:
poControls System.Windows.Forms.Control+ControlCollection
The System.Windows.Forms.Control+ControlCollection Collection of Controls to iterate
plShowMessage LOGICAL
When TRUE a message is Shown explaining why it is not ok to close the parent form.
Returns LOGICAL
Logical value indicating if it's o.k. to move to the Activated window
Top

RecurseSubscribeDirtyStateEvents (Control)

Purpose: Subscribes to the SmartTableIOStateChanged events of Viewers
and SmartUpdatableBrowsers
Notes:

Parameters:
poControl System.Windows.Forms.Control
The current control
Top

RegisterToolbarButtonHandler (UltraToolbarsManager, character, character, character)

Purpose: Registers a handler for the ToolClick event of a specific button
Notes:

Parameters:
poToolbarsManager Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
The reference to the UltraToolbarsManager instance
pcToolbaseButtonKey CHARACTER
The name of the toolbar button
pcHandlerName CHARACTER
The method name of the event handler method
pcDataSource CHARACTER
The name of the data source with the event data
Top

RegisterToolbarButtonMenuFunction (UltraToolbarsManager, character, character, character)

Purpose: Registers a handler for the ToolClick event of a specific button
Notes:

Parameters:
poToolbarsManager Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
The reference to the UltraToolbarsManager instance
pcToolbaseButtonKey CHARACTER
The name of the toolbar button
pcFunctionCode CHARACTER
The code of the menu function to be executed
pcParameterCallback CHARACTER
The name of the callback method to be executed
Top

SetDesignerProperties ()

Purpose: Sets Properties to customize Visual Designer behavior
Notes:

Top

SmartWindowFormToolClickHandler (Object, ToolClickEventArgs)

Purpose: Event handler for the ToolClick event
Notes:

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

SubscribeDirtyStateEvents ()

Purpose: Subscribes to the SmartTableIOStateChanged events of Viewers
and SmartUpdatableBrowsers
Notes:



Constructor Detail
Top

SmartWindowForm ()

Purpose: Constructor for the SmartWindowForm class
Notes:



Event Detail
Top

ActiveSmartControlChanged DELEGATE System.EventHandler

Purpose: Raised whenever the ActiveSmartSmartControl property has changed
Notes:

Delegate: System.EventHandler
Top

DirtyStateChanged (Object, EventArgs)

Purpose: Raised when the DirtyState of the Window has changes
Notes:

Parameters:
sender Progress.Lang.Object
The object that raised the DirtyStateChanged event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for the event
Top

ExternalDataSourceChanged DELEGATE System.EventHandler

Purpose: Raised when the ExternalDataSource property changes
Notes:

Delegate: System.EventHandler
Top

ExternalNavigationTargetChanged (Object, EventArgs)

Purpose: Raised when the ExternalNavigationSource property changes
Notes:

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

GenericEvent (Object, EventArgs)

Purpose: Raised from custom logic
Notes: Support raising an event from a form logic class

Parameters:
sender Progress.Lang.Object
The object that raised the GenericEvent event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for the event
Top

PrimaryDataSourceChanged DELEGATE System.EventHandler

Purpose: Raised when the PrimaryDataSource property changes
Notes:

Delegate: System.EventHandler
Top

PrimaryDataTargetChanged DELEGATE System.EventHandler

Purpose: Raised when the PrimaryDataTarget property changes
Notes:

Delegate: System.EventHandler
Top

PrimaryNavigationSourceChanged (Object, EventArgs)

Purpose: Raised when the PrimaryNavigationSource property changes
Notes:

Parameters:
sender Progress.Lang.Object
The object that raised the PrimaryNavigationSourceChanged event
e System.EventArgs
The System.EventArgs with the data for the event


Property Detail
Top

System.Windows.Forms.Control ActiveSmartControl


Returns System.Windows.Forms.Control
Top

LOGICAL DirtyState


Returns LOGICAL
Top

Consultingwerk.SmartComponents.Interfaces.ISmartDataSource ExternalDataSource


Returns Consultingwerk.SmartComponents.Interfaces.ISmartDataSource
Top

Consultingwerk.SmartComponents.Interfaces.ISmartNavigationTarget ExternalNavigationTarget


Returns Consultingwerk.SmartComponents.Interfaces.ISmartNavigationTarget
Top

CHARACTER FormAction


Returns CHARACTER
Top

CHARACTER FormLogicClass


Returns CHARACTER
Top

Consultingwerk.SmartComponents.Interfaces.ISmartFormLogic FormLogicObject


Returns Consultingwerk.SmartComponents.Interfaces.ISmartFormLogic
Top

Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataSource PrimaryDataSource


Returns Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataSource
Top

Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataTarget PrimaryDataTarget


Returns Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataTarget
Top

Consultingwerk.SmartComponents.Interfaces.Design.IDesignNavigationSource PrimaryNavigationSource


Returns Consultingwerk.SmartComponents.Interfaces.Design.IDesignNavigationSource
Top

LOGICAL PromptForSaveOnApplicationLeave


Returns LOGICAL
Top

LOGICAL PromptForSaveOnFormDeactivate


Returns LOGICAL
Top

Consultingwerk.SmartComponents.Interfaces.ISmartToolbarSource SmartToolbarSource


Returns Consultingwerk.SmartComponents.Interfaces.ISmartToolbarSource
Top

Consultingwerk.SmartComponents.Base.SmartWindowFormController SmartWindowFormController


Returns Consultingwerk.SmartComponents.Base.SmartWindowFormController
Top

LOGICAL SupportsDirtyState


Returns LOGICAL


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       30.03.2026 11:06:08