C# Class Net.Bertware.Bukkitgui2.UI.MainForm

Mostrar archivo Open project: Bertware/bukkitgui2 Class Usage Examples

Public Properties

Property Type Description
FormTitle string
Reference MainForm

Public Methods

Method Description
GoToTab ( string name ) : void

Go to a certain tabpage

MainForm ( ) : System
ShowForm ( ) : void
UpdateTitle ( ) : void

Private Methods

Method Description
GetTabDisplayId ( string tab ) : int

Get the priority of each tab, lower values will show first

HandleOutput ( string text, OutputParseResult result ) : void

Handle output from the server and print it to the bottom of the screen

HandleServerStatusChange ( ServerState currentState ) : void
Initialize ( ) : void
LoadTabs ( ) : void

Load all tabpages to the mainform

MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

Check if a server is still running before closing the GUI

SafeFormClose ( ) : void

Close this form thread-safe

ToolStripBtnRestart_Click ( object sender, EventArgs e ) : void
ToolStripBtnStartStop_Click ( object sender, EventArgs e ) : void

Method Details

GoToTab() public method

Go to a certain tabpage
public GoToTab ( string name ) : void
name string The name of the tab to go to. Case insensitive.
return void

MainForm() public method

public MainForm ( ) : System
return System

ShowForm() public method

public ShowForm ( ) : void
return void

UpdateTitle() public method

public UpdateTitle ( ) : void
return void

Property Details

FormTitle public_oe property

public string FormTitle
return string

Reference public_oe static_oe property

public static MainForm,Net.Bertware.Bukkitgui2.UI Reference
return MainForm