C# Class Globals.Global

The global.
Afficher le fichier Open project: troymac1ure/Entity

Méthodes publiques

Méthode Description
ClearControls ( Control c ) : void

Properly clears all controls off of a control by disposing of each one

ShowErrorMsg ( string informativeError, Exception e ) : void

Shows a messagebox with the specified error text and information from the generated error report

Private Methods

Méthode Description
Global ( ) : System

Initializes static members of the Global class.

Method Details

ClearControls() public static méthode

Properly clears all controls off of a control by disposing of each one
public static ClearControls ( Control c ) : void
c System.Windows.Forms.Control
Résultat void

ShowErrorMsg() public static méthode

Shows a messagebox with the specified error text and information from the generated error report
public static ShowErrorMsg ( string informativeError, Exception e ) : void
informativeError string The informative Error.
e System.Exception The e.
Résultat void