C# Class Sharpcraft.Program

Main class for Sharpcraft, all initial loading is done here.
Mostra file Open project: SijmenSchoon/Sharpcraft

Public Methods

Method Description
Quit ( ) : void

Quits the application.

Private Methods

Method Description
AllocConsole ( ) : bool
FreeConsole ( ) : int
GetStdHandle ( int nStdHandle ) : IntPtr
Main ( string args ) : void
UnhandledExceptionHandler ( object sender, UnhandledExceptionEventArgs e ) : void
WriteExceptionToFile ( Exception ex ) : void

Writes exception info to file.

This is generally only used for unhandled/fatal exceptions that will cause the application to exit.

Method Details

Quit() public static method

Quits the application.
public static Quit ( ) : void
return void