C# Class MinecraftServerManager.Controls.FileEditor

Show file Open project: Libter/MinecraftServerManager Class Usage Examples

Public Properties

Property Type Description
Data Data.RemoteServer
file FileInfo
ftp bool
ftpFile string

Public Methods

Method Description
Close ( ) : bool
FileEditor ( ) : System
Load ( Data _data, string file, MinecraftServerManager.Controls.Tabs tabs ) : void
Load ( FileInfo _file, MinecraftServerManager.Controls.Tabs tabs ) : void
Load ( ServersTreeNodes node, MinecraftServerManager.Controls.Tabs tabs ) : void
SetStyle ( Data style ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

JsonParser ( object sender, TextChangedEventArgs e ) : void
Parser ( object sender, TextChangedEventArgs e ) : void
PropertiesParser ( object sender, TextChangedEventArgs e ) : void
SkriptParser ( object sender, TextChangedEventArgs e ) : void
TextEditor_Resize ( object sender, EventArgs e ) : void
YamlParser ( object sender, TextChangedEventArgs e ) : void
saveButton_Click ( object sender, EventArgs e ) : void

Method Details

Close() public method

public Close ( ) : bool
return bool

Dispose() protected method

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

FileEditor() public method

public FileEditor ( ) : System
return System

Load() public method

public Load ( Data _data, string file, MinecraftServerManager.Controls.Tabs tabs ) : void
_data Data
file string
tabs MinecraftServerManager.Controls.Tabs
return void

Load() public method

public Load ( FileInfo _file, MinecraftServerManager.Controls.Tabs tabs ) : void
_file FileInfo
tabs MinecraftServerManager.Controls.Tabs
return void

Load() public method

public Load ( ServersTreeNodes node, MinecraftServerManager.Controls.Tabs tabs ) : void
node ServersTreeNodes
tabs MinecraftServerManager.Controls.Tabs
return void

SetStyle() public method

public SetStyle ( Data style ) : void
style Data
return void

Property Details

Data public property

public Data.RemoteServer Data
return Data.RemoteServer

file public property

public FileInfo file
return FileInfo

ftp public property

public bool ftp
return bool

ftpFile public property

public string ftpFile
return string