Namespace: Consultingwerk.SmartComponents.Base
Class 
SmartFormLogic Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.SmartComponents.Interfaces.ISmartFormLogic
Inherited by: Consultingwerk.Windows.Framework.Repository.Rendering.DynamicFormLogic Consultingwerk.Windows.Framework.Repository.MergeUtil.SmartImportFileStatusFormLogic Consultingwerk.Windows.Framework.Repository.SmartObjectMasterBrowseFormLogic Consultingwerk.Windows.Framework.System.SmartTagFormLogic Consultingwerk.Windows.Framework.Repository.Class.AttributeValueSearch.SmartAttributeValueSearchFormLogic Consultingwerk.Windows.Framework.Session.SmartContextStoreFormLogic
ABSTRACT

File:SmartFormLogic
Purpose:Base class for classes that provide client side logic
for SmartViewerControl instances
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Feb 10 16:31:21 CET 2019
Purpose: Returns the reference to the SmartWindowForm that owns this
instance of the Form Logic Object
Notes: The Owner property cannot be modified once set



Top Method Summary
Options Name Purpose
+ Initialize () Initializes the SmartFormLogic instance
# CHARACTER LoadSettings (character) Loads stored window settings from the registry
# RaiseGenericEvent (EventArgs) Raises the Generic Event
+ Shutdown () Shuts down the SmartFormLogic instance
# StoreSettings (character, character) Stores window settings to the registry
+ A SubscribeEvents () Subscribes the events for an attached form instance
+ A UnsubscribeEvents () Unsubscribes the events for an attached form instance

Top Property Summary
Options Name Purpose
+ Consultingwerk.SmartComponents.Base.SmartWindowForm Owner


Method Detail
Top

PUBLIC Initialize ()

Purpose: Initializes the SmartFormLogic instance
Notes:

Top

PROTECTED CHARACTER LoadSettings (character)

Purpose: Loads stored window settings from the registry
Notes:

Parameters:
pcSettingsKey CHARACTER
The key under which the settings for this Form are stored (e.g. Position)
Returns CHARACTER
The string containing the stored window settings
Top

PROTECTED 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

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs
Top

PUBLIC Shutdown ()

Purpose: Shuts down the SmartFormLogic instance
Notes:

Top

PROTECTED StoreSettings (character, character)

Purpose: Stores window settings to the registry
Notes:

Parameters:
pcSettings CHARACTER
The string containing the window settings to be stored
pcSettingsKey CHARACTER
The key under which the settings for this Form are stored (e.g. Position)
Top

PUBLIC SubscribeEvents ()

Purpose: Subscribes the events for an attached form instance
Notes: This method needs to be implemented by the Form Logic class and
is supposed to subscribe to control events

Top

PUBLIC UnsubscribeEvents ()

Purpose: Unsubscribes the events for an attached form instance
Notes: This method needs to be implemented by the Form Logic class and
is supposed to unsubscribe from control events



Property Detail
Top

PUBLIC Consultingwerk.SmartComponents.Base.SmartWindowForm Owner


Returns Consultingwerk.SmartComponents.Base.SmartWindowForm


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:01:06