Namespace: Consultingwerk.Windows.Util.Controls
Class 
ErrorLoggerControl Copy to Clipboard
Parent classes:
Inherits: Progress.Windows.UserControl
Implements: Consultingwerk.Framework.IErrorHandler

File:ErrorLoggerControl
Purpose:Displays Error Objects in a scrollable view
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Mar 31 20:59:50 CEST 2011
Notes:Reference Implementation of IErrorHandler



Top Method Summary
Options Name Purpose
# ClearEditor () Clears the Editor with the Error message view
+ LOGICAL HandleError (Error) Handles an Error object
- InitializeComponent () Initializes the Visual Design
# SaveEditorContents () Saves the contents of the editor to a file
- ultraToolbarsManager1_ToolClick (Object, ToolClickEventArgs) Event handler for the ToolClick event of the UltraToolbarsManager instance

Top Constructor Summary
Options Name Purpose
+ ErrorLoggerControl () Constructor of the ErrorLoggerControl class


Method Detail
Top

PROTECTED ClearEditor ()

Purpose: Clears the Editor with the Error message view
Notes:

Top

PUBLIC LOGICAL HandleError (Error)

Purpose: Handles an Error object
Notes: Logical return value indicates if the error has been completely
Handled, that is when this method returns TRUE, the ErrorHelper
will not display the error anymore, return false when the
ErrorHelper should still display the error message dialog.

Parameters:
poError Progress.Lang.Error
The reference to the Error to handle
Returns LOGICAL
Logical value indicating if the error has been completely handled
Top

PRIVATE InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PROTECTED SaveEditorContents ()

Purpose: Saves the contents of the editor to a file
Notes: The user will be prompted for the file name

Top

PRIVATE ultraToolbarsManager1_ToolClick (Object, ToolClickEventArgs)

Purpose: Event handler for the ToolClick event of the UltraToolbarsManager
instance
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Infragistics.Win.UltraWinToolbars.ToolClickEventArgs
The ToolClickEventArgs with the data for this event


Constructor Detail
Top

PUBLIC ErrorLoggerControl ()

Purpose: Constructor of the ErrorLoggerControl class
Notes:



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