Namespace: Consultingwerk.Windows.Util.Forms
Class 
MessageForm Copy to Clipboard
Parent classes:
Inherits: Progress.Windows.Form
Implements: Consultingwerk.Util.Forms.IMessageForm

File:MessageForm
Purpose:Default message Form, see Consultingwerk.Util.MessageFormHelper
Description:See https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094686/Using+custom+buttons+on+the+MessageForm
for instructions on how to add custom buttons to Message Form
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Jul 16 16:01:51 CEST 2009



Top Method Summary
Options Name Purpose
btnDetails_Click (Object, EventArgs) Event handler for the Click event of the btnDetails
CreateButtons () Creates the Message Buttons
CustomButtonClickHandler (Object, EventArgs) Event handler for the click event of custom buttons
InitializeComponent ()
KeyDownHandler (Object, KeyEventArgs) Event handler for the KeyDown event of the MessageForm
OnFormClosing (FormClosingEventArgs) Raises the FormClosing event
OnLoad (EventArgs) Raises the Load event
OnShown (EventArgs) Raises the Shown event
RenderCustomButtons () Renders buttons provided by the IErrorMessageFormButtonProvider
TimerTickHandler (Object, EventArgs) Event handler for the Tick event of the Timer component
ToggleButtonState (logical) Toggles the Button state

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

Top Property Summary
Options Name Purpose
Consultingwerk.Framework.Enum.DialogResultEnum DefaultDialogResult
LOGICAL DisplayDetails
Consultingwerk.Framework.Enum.DialogResultEnum MessageButtonDialogResults
CHARACTER MessageButtonLabels
CHARACTER MessageDetail
Progress.Lang.Object MessageImage
CHARACTER MessageText
INTEGER MessageTimer


Method Detail
Top

btnDetails_Click (Object, EventArgs)

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

CreateButtons ()

Purpose: Creates the Message Buttons
Notes:

Top

CustomButtonClickHandler (Object, EventArgs)

Purpose: Event handler for the click event of custom buttons
Notes:

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

InitializeComponent ()


Top

KeyDownHandler (Object, KeyEventArgs)

Purpose: Event handler for the KeyDown event of the MessageForm
Notes:

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

OnFormClosing (FormClosingEventArgs)

Purpose: Raises the FormClosing event
Notes:

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

OnLoad (EventArgs)

Purpose: Raises the Load event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs 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 this event
Top

RenderCustomButtons ()

Purpose: Renders buttons provided by the IErrorMessageFormButtonProvider
Notes:

Top

TimerTickHandler (Object, EventArgs)

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

ToggleButtonState (logical)

Purpose: Toggles the Button state
Notes:

Parameters:
plDisplayStack LOGICAL
Logical value indicating if the stack should be shown


Constructor Detail
Top

MessageForm ()

Purpose: Constructor for the MessageForm class
Notes:



Property Detail
Top

Consultingwerk.Framework.Enum.DialogResultEnum DefaultDialogResult


Returns Consultingwerk.Framework.Enum.DialogResultEnum
Top

LOGICAL DisplayDetails


Returns LOGICAL
Top

Consultingwerk.Framework.Enum.DialogResultEnum MessageButtonDialogResults


Returns Consultingwerk.Framework.Enum.DialogResultEnum
Top

CHARACTER MessageButtonLabels


Returns CHARACTER
Top

CHARACTER MessageDetail


Returns CHARACTER
Top

Progress.Lang.Object MessageImage


Returns Progress.Lang.Object
Top

CHARACTER MessageText


Returns CHARACTER
Top

INTEGER MessageTimer


Returns INTEGER


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