Namespace: Consultingwerk.SmartComponents.Interfaces
Interface 
ICheckOkToClose Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.BusinessEntityDesigner.UI.BusinessEntityViewerControl, Consultingwerk.BusinessEntityDesigner.UI.DataRelationViewerControl, Consultingwerk.BusinessEntityDesigner.UI.FieldViewerControl, Consultingwerk.BusinessEntityDesigner.UI.IndexViewerControl, Consultingwerk.BusinessEntityDesigner.UI.MemberTableViewerControl, Consultingwerk.SmartComponents.Base.SmartBrowserControl, Consultingwerk.SmartComponents.Base.SmartViewerControl, Consultingwerk.SmartComponents.Implementation.SmartDataBrowser, Consultingwerk.SmartComponents.Implementation.SmartDynamicBrowser, Consultingwerk.SmartComponents.Implementation.SmartDynamicUpdatableBrowser, Consultingwerk.SmartComponents.Implementation.SmartDynamicViewer, Consultingwerk.SmartComponents.Implementation.SmartUpdatableBrowser, Consultingwerk.Windows.Framework.Authentication.SmartUserViewer, Consultingwerk.Windows.Framework.Authorization.SmartFieldSecurityItemViewerControl, Consultingwerk.Windows.Framework.Authorization.SmartGroupViewer, Consultingwerk.Windows.Framework.Authorization.SmartSecurityAssignmentViewerControl, Consultingwerk.Windows.Framework.Authorization.SmartSecurityObjectTokenViewerControl, Consultingwerk.Windows.Framework.Authorization.SmartSecurityObjectViewerControl, Consultingwerk.Windows.Framework.Authorization.SmartSecurityRealmViewerControl, Consultingwerk.Windows.Framework.Authorization.SmartSecurityTokenViewerControl, Consultingwerk.Windows.Framework.Authorization.SmartToolbarSecurityItemViewerControl, Consultingwerk.Windows.Framework.Menu.SmartFunctionViewer, Consultingwerk.Windows.Framework.Menu.SmartMenuStyleViewerControl, Consultingwerk.Windows.Framework.Menu.SmartMenuViewer, Consultingwerk.Windows.Framework.Menu.SmartModuleViewer, Consultingwerk.Windows.Framework.Menu.SmartProductViewerControl, Consultingwerk.Windows.Framework.Repository.Class.SmartAttributeGroupViewerControl, Consultingwerk.Windows.Framework.Repository.Class.SmartAttributeViewerControl, Consultingwerk.Windows.Framework.Repository.Class.SmartClassTypeViewerControl, Consultingwerk.Windows.Framework.Repository.Class.SmartLinkTypeViewerControl, Consultingwerk.Windows.Framework.Repository.Class.SmartObjectTypeViewerControl, Consultingwerk.Windows.Framework.Repository.Class.SmartSupportedLinkViewerControl, Consultingwerk.Windows.Framework.Repository.Customization.SmartCustomizationResultViewerControl, Consultingwerk.Windows.Framework.Repository.Customization.SmartCustomizationTypeViewerControl, Consultingwerk.Windows.Framework.Repository.Customization.SmartCustomizationViewerControl, Consultingwerk.Windows.Framework.Repository.Field.SmartEntityFieldMappingViewerControl, Consultingwerk.Windows.Framework.Repository.Object.SmartLinkViewerControl, Consultingwerk.Windows.Framework.Repository.Object.SmartObjectInstanceViewerControl, Consultingwerk.Windows.Framework.Repository.Object.SmartObjectMasterViewerControl, Consultingwerk.Windows.Framework.Repository.Object.SmartPageViewerControl, Consultingwerk.Windows.Framework.Repository.ScreenMapping.SmartEntityTableMappingViewerControl, Consultingwerk.Windows.Framework.Repository.ScreenMapping.SmartScreenTypeViewerControl, Consultingwerk.Windows.Framework.Repository.ScreenMapping.SmartUiTypeViewerControl, Consultingwerk.Windows.Framework.Rollbase.DataObjectDefViewerControl, Consultingwerk.Windows.Framework.Scheduler.SmartSchedulerJobPlanViewerControl, Consultingwerk.Windows.Framework.Scheduler.SmartSchedulerJobStatusViewerControl, Consultingwerk.Windows.Framework.Scheduler.SmartSchedulerJobViewerControl, Consultingwerk.Windows.Framework.System.SmartAttachmentRoleViewerControl, Consultingwerk.Windows.Framework.System.SmartBusinessEntityTableViewerControl, Consultingwerk.Windows.Framework.System.SmartBusinessEntityViewerControl, Consultingwerk.Windows.Framework.System.SmartCommentRoleViewerControl, Consultingwerk.Windows.Framework.System.SmartKeyFieldAssignmentTypeViewerControl, Consultingwerk.Windows.Framework.System.SmartLanguageViewer, Consultingwerk.Windows.Framework.System.SmartLoginCompanyViewer, Consultingwerk.Windows.Framework.System.SmartMessageViewerControl, Consultingwerk.Windows.Framework.System.SmartModifiedStateViewerControl, Consultingwerk.Windows.Framework.System.SmartRelationViewerControl, Consultingwerk.Windows.Framework.System.SmartTableViewerControl, Consultingwerk.Windows.Framework.System.SmartTranslationViewerControl, Consultingwerk.Windows.Framework.System.SmartUiTranslationViewerControl, Consultingwerk.Windows.Framework.System.SmartValueListViewerControl, Consultingwerk.Windows.Framework.Web.SmartRouteViewerControl

File:ICheckOkToClose
Purpose:Identify that the class implementing this interface
has it's own logic to decide if the ParentForm
should be closed
Author(s):Marko Rüterbories / Consultingwerk Ltd.
Created:Wed Jun 17 09:02:55 CEST 2009
Notes:This Interface should under no circumstances be used
together with IDoNotCheckOkToClose.



Top Method Summary
Options Name Purpose
+ LOGICAL IsOkToClose (logical, CloseReason) Check if it is ok to close the parent form.


Method Detail
Top

PUBLIC LOGICAL IsOkToClose (logical, CloseReason)

Purpose: Check if it is ok to close the parent form.
Notes:

Parameters:
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 why the form is closed
Returns LOGICAL
Logical value indicating if the parent Form may be closed


©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:33:48