Namespace: Consultingwerk.Windows.Util
Class 
ErrorProviderHelper Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:ErrorProviderHelper
Purpose:Supports usage of the Microsoft ErrorProvider Component
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Apr 25 07:49:11 CEST 2021
Purpose: Clears all errors
Notes:



Top Method Summary
Options Name Purpose
+ ClearErrors (Control, ErrorProvider) Clears all errors
+ SetErrors (Control, ErrorProvider, CharacterDictionary) Sets the Errors for the Controls in the Container
+ SetErrors (Control, ErrorProvider, ListNameValuePair) Sets the Errors for the Controls in the Container


Method Detail
Top

PUBLIC ClearErrors (Control, ErrorProvider)

Purpose: Clears all errors
Notes:

Parameters:
poControl System.Windows.Forms.Control
The reference to the parent Control to clear all errors in
poErrorProvider System.Windows.Forms.ErrorProvider
The reference to the ErrorProvider component
Top

PUBLIC SetErrors (Control, ErrorProvider, CharacterDictionary)

Purpose: Sets the Errors for the Controls in the Container
Notes:

Parameters:
poControl System.Windows.Forms.Control
The reference to the parent Control to clear all errors in
poErrorProvider System.Windows.Forms.ErrorProvider
The reference to the ErrorProvider component
poErrors Consultingwerk.Framework.Collections.CharacterDictionary
The CharacterDictionary of error messages per field
Top

PUBLIC SetErrors (Control, ErrorProvider, ListNameValuePair)

Purpose: Sets the Errors for the Controls in the Container
Notes:

Parameters:
poControl System.Windows.Forms.Control
The reference to the parent Control to clear all errors in
poErrorProvider System.Windows.Forms.ErrorProvider
The reference to the ErrorProvider component
poErrors Consultingwerk.ListNameValuePair
The List of error messages per field


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:32:51