C# Class Globals.Global

The global.
Mostra file Open project: troymac1ure/Entity

Public Methods

Method 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

Method Description
Global ( ) : System

Initializes static members of the Global class.

Method Details

ClearControls() public static method

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

ShowErrorMsg() public static method

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.
return void