C# Class MCDek_.Gui.Program

Exibir arquivo Open project: dekema2/MCDek

Public Properties

Property Type Description
CurrentUpdate bool
updateTimer System.Timers.Timer
usingConsole bool

Public Methods

Method Description
ExitProgram ( System.Boolean AutoRestart ) : void
GlobalExHandler ( object sender, UnhandledExceptionEventArgs e ) : void
Main ( string args ) : void
PerformUpdate ( bool oldrevision ) : void
ThreadExHandler ( object sender, ThreadExceptionEventArgs e ) : void
UpdateCheck ( bool wait = false, Player p = null ) : void
handleComm ( string s ) : void
restartMe ( bool fullRestart = true ) : void
saveAll ( ) : void

Private Methods

Method Description
GetConsoleWindow ( ) : IntPtr
ShowWindow ( IntPtr hWnd, int nCmdShow ) : bool

Method Details

ExitProgram() public static method

public static ExitProgram ( System.Boolean AutoRestart ) : void
AutoRestart System.Boolean
return void

GlobalExHandler() public static method

public static GlobalExHandler ( object sender, UnhandledExceptionEventArgs e ) : void
sender object
e System.UnhandledExceptionEventArgs
return void

Main() public static method

public static Main ( string args ) : void
args string
return void

PerformUpdate() public static method

public static PerformUpdate ( bool oldrevision ) : void
oldrevision bool
return void

ThreadExHandler() public static method

public static ThreadExHandler ( object sender, ThreadExceptionEventArgs e ) : void
sender object
e System.Threading.ThreadExceptionEventArgs
return void

UpdateCheck() public static method

public static UpdateCheck ( bool wait = false, Player p = null ) : void
wait bool
p Player
return void

handleComm() public static method

public static handleComm ( string s ) : void
s string
return void

restartMe() public static method

public static restartMe ( bool fullRestart = true ) : void
fullRestart bool
return void

saveAll() public static method

public static saveAll ( ) : void
return void

Property Details

CurrentUpdate public_oe static_oe property

public static bool CurrentUpdate
return bool

updateTimer public_oe static_oe property

public static System.Timers.Timer updateTimer
return System.Timers.Timer

usingConsole public_oe static_oe property

public static bool usingConsole
return bool