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 () Initializes the Visual Design
- 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

PRIVATE 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

PROTECTED CreateButtons ()

Purpose: Creates the Message Buttons
Notes:

Top

PROTECTED 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

PRIVATE InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PRIVATE 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

PROTECTED OnFormClosing (FormClosingEventArgs)

Purpose: Raises the FormClosing event
Notes:

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

PROTECTED OnLoad (EventArgs)

Purpose: Raises the Load event
Notes:

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

PROTECTED OnShown (EventArgs)

Purpose: Raises the Shown event
Notes:

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

PROTECTED RenderCustomButtons ()

Purpose: Renders buttons provided by the IErrorMessageFormButtonProvider
Notes:

Top

PRIVATE 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

PUBLIC ToggleButtonState (logical)

Purpose: Toggles the Button state
Notes:

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


Constructor Detail
Top

PUBLIC MessageForm ()

Purpose: Constructor for the MessageForm class
Notes:



Property Detail
Top

PUBLIC Consultingwerk.Framework.Enum.DialogResultEnum DefaultDialogResult


Returns Consultingwerk.Framework.Enum.DialogResultEnum
Top

PUBLIC LOGICAL DisplayDetails


Returns LOGICAL
Top

PUBLIC Consultingwerk.Framework.Enum.DialogResultEnum MessageButtonDialogResults


Returns Consultingwerk.Framework.Enum.DialogResultEnum
Top

PUBLIC CHARACTER MessageButtonLabels


Returns CHARACTER
Top

PUBLIC CHARACTER MessageDetail


Returns CHARACTER
Top

PUBLIC Progress.Lang.Object MessageImage


Returns Progress.Lang.Object
Top

PUBLIC CHARACTER MessageText


Returns CHARACTER
Top

PUBLIC INTEGER MessageTimer


Returns INTEGER


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