C# Class TerrariaServerGUI.MainForm

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: RappsFF7/Terraria-Server-GUI

Méthodes publiques

Méthode Description
MainForm ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
button_BanList_Click ( object sender, EventArgs e ) : void
button_Execute_Click ( object sender, EventArgs e ) : void
button_LoggingFolder_Click ( object sender, EventArgs e ) : void
button_ServerPath_Click ( object sender, EventArgs e ) : void
button_WorldPath_Click ( object sender, EventArgs e ) : void
button_World_Click ( object sender, EventArgs e ) : void
checkBox_AutoSave_CheckedChanged ( object sender, EventArgs e ) : void
checkBox_Logging_CheckedChanged ( object sender, EventArgs e ) : void
comboBox_AutosaveDelayFactor_SelectedIndexChanged ( object sender, EventArgs e ) : void
doLog ( string psMessage ) : void
doOpenFileOrDirectoryDialog ( Control psControl, bool pbDirectoryOnly ) : void
doOutput ( string psMessage, Color poColor ) : void
doTSOutput ( string psMessage ) : void

[Thread Safe] Outputs to the main form console

doTSOutput ( string psMessage, Color poColor ) : void

[Thread Safe] Outputs to the main form console

doTSUpdateFormState ( enumFormState poState ) : void

[Thread Safe] Updates the state of the form

doTSUpdateStatus ( string psMessage, int piPercentComplete ) : void

[Thread Safe] Updates the main status bar.

doTSUpdateStatusError ( string psMessage ) : void

[Thread Safe] Update the main status bar with an error message

doUpdateFormState ( enumFormState poState ) : void
doUpdateStatus ( string psMessage, int piPercentComplete ) : void
initialize ( ) : void

Initialize code that was not auto generated

initializeCommandArgs ( ) : void
initializeServerObject ( enumTerrariaServer toServerType ) : void
loadArgumentsToForm ( absTerrariaServerArguments poArgs ) : void
moTerrariaServer_DataRecievedError ( object sender, TerrariaServerEventArgs e ) : void
moTerrariaServer_DataRecievedOutput ( object sender, TerrariaServerEventArgs e ) : void
moTerrariaServer_ServerCommandComplete ( object sender, TerrariaServerEventArgs e ) : void
numericUpDown_AutosaveDelay_ValueChanged ( object sender, EventArgs e ) : void
refreshAutosaveTimer ( ) : void
refreshConfigFileList ( string psNewSelection ) : void

Refreshes the current config file list. Passing in a string will attempt to change the selection to that item after the refresh instead of restoring the current selection.

saveArgumentsToObject ( absTerrariaServerArguments poArgs ) : void
saveConfigFile ( ) : void
saveConfigFile ( string tsConfigFilePathAndName ) : void

Saves the current options to the server object and then to a config file. Supplying an empty string for the file will draw from the currently selected config file in the application.

saveableOption_OnChange ( object sender, EventArgs args ) : void
setTheme ( enumTheme theme ) : void

Not used yet, hard to make it look good since this program wasn't designed for color :/

textBox_Execute_TextChanged ( object sender, EventArgs e ) : void
timer_Autosave_Tick ( object sender, EventArgs e ) : void
timer_Main_Tick ( object sender, EventArgs e ) : void
toolStripButton_ConfigFileDelete_Click ( object sender, EventArgs e ) : void
toolStripButton_ConfigFileSaveAs_Click ( object sender, EventArgs e ) : void
toolStripButton_ConfigFileSave_Click ( object sender, EventArgs e ) : void
toolStripButton_StartServer_Click ( object sender, EventArgs e ) : void
toolStripComboBox_ConfigFile_SelectedIndexChanged ( object sender, EventArgs e ) : void
toolStripComboBox_ForceGuiState_MenuItems_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_ConfigFileOpenDirectory_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_Exit_Click ( object sender, EventArgs e ) : void
toolStripMenuItem_Help_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

MainForm() public méthode

public MainForm ( ) : System
Résultat System