Namespace: Consultingwerk.Windows.Util.Forms
Interface 
IMessageFormButtonProvider Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.Windows.Util.Forms.SampleMessageFormButtonProvider

File:IMessageFormButtonProvider
Purpose:Interface for services that can provide custom Buttons
for the MessageForm
Syntax:Allows adding buttons to report message or retrieve system
information etc.
Description:See https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094686/Using+custom+buttons+on+the+MessageForm
for further instructions
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Apr 06 14:27:31 CET 2014
Notes:The MessageForm assigns Location and Anchor. All other
properties are to be assigned by the service implementation



Top Method Summary
Options Name Purpose
+ System.Collections.Generic.List <System.Windows.Forms.Button> GetButtonsForMessage (Message) Returns the List of Buttons to be added to the dialog
+ LOGICAL HandleButtonClick (Button, Message) Handles the click event of a custom button


Method Detail
Top

PUBLIC System.Collections.Generic.List <System.Windows.Forms.Button> GetButtonsForMessage (Message)

Purpose: Returns the List of Buttons to be added to the dialog
Notes: Buttons should have a meaningful name
The AccessibleDescription propety of the Button Controls will be used
to set a Tooltip in the ErrorMessageForms UltraTooltipManager

Parameters:
poMessage Consultingwerk.SmartFramework.Message
The Message that is currently being processed
Returns System.Collections.Generic.List <System.Windows.Forms.Button>
The List of the System.Windows.Forms.Button objects to be added to the MessageForm
Top

PUBLIC LOGICAL HandleButtonClick (Button, Message)

Purpose: Handles the click event of a custom button
Notes:

Parameters:
poButton System.Windows.Forms.Button
The reference to the Button that was clicked
poMessage Consultingwerk.SmartFramework.Message
The reference to the Message that is currently shown
Returns LOGICAL
Logical value indicating if the Message Message Form should be closed (True = Close)


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:41:18