C# Class CURELab.SignLanguage.Debugger.ConsoleManager

Datei anzeigen Open project: huangfuyang/Sign-Language-with-Kinect

Public Methods

Method Description
Hide ( ) : void

If the process has a console attached to it, it will be detached and no longer visible. Writing to the System.Console is still possible, but no output will be shown.

Show ( ) : void

Creates a new console instance if the process is not attached to a console already.

Toggle ( ) : void

Private Methods

Method Description
AllocConsole ( ) : bool
FreeConsole ( ) : bool
GetConsoleOutputCP ( ) : int
GetConsoleWindow ( ) : IntPtr
InvalidateOutAndError ( ) : void
SetOutAndErrorNull ( ) : void

Method Details

Hide() public static method

If the process has a console attached to it, it will be detached and no longer visible. Writing to the System.Console is still possible, but no output will be shown.
public static Hide ( ) : void
return void

Show() public static method

Creates a new console instance if the process is not attached to a console already.
public static Show ( ) : void
return void

Toggle() public static method

public static Toggle ( ) : void
return void