C# Class wottools.MainForm

Inheritance: System.Windows.Forms.Form
Show file Open project: katzsmile/WoTModTools

Public Properties

Property Type Description
Binary_Header System.Int32
PF Primitive_File_Reader.Primitive_File
PS Packed_Section_Reader.Packed_Section
PackedFileName string
mnuMain System.Windows.Forms.MenuStrip
stitle string
sver string
txtOut System.Windows.Forms.RichTextBox
xDoc System.Xml.XmlDocument

Public Methods

Method Description
DecodePackedFile ( BinaryReader reader ) : void
MainForm ( string args ) : System
ReadPrimitiveFile ( string file ) : void
openFile ( string file ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
FormatXml ( string sUnformattedXml ) : string
InitializeComponent ( ) : void

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

MainForm_DragDrop ( object sender, DragEventArgs e ) : void
MainForm_DragEnter ( object sender, DragEventArgs e ) : void
MainForm_Load ( object sender, EventArgs e ) : void
aboutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void
newToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openToolStripMenuItem_Click ( object sender, EventArgs e ) : void
optionsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveAsToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

DecodePackedFile() public method

public DecodePackedFile ( BinaryReader reader ) : void
reader System.IO.BinaryReader
return void

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

MainForm() public method

public MainForm ( string args ) : System
args string
return System

ReadPrimitiveFile() public method

public ReadPrimitiveFile ( string file ) : void
file string
return void

openFile() public method

public openFile ( string file ) : void
file string
return void

Property Details

Binary_Header public static property

public static Int32,System Binary_Header
return System.Int32

PF public property

public Primitive_File,Primitive_File_Reader PF
return Primitive_File_Reader.Primitive_File

PS public property

public Packed_Section,Packed_Section_Reader PS
return Packed_Section_Reader.Packed_Section

PackedFileName public property

public string PackedFileName
return string

mnuMain public property

public System.Windows.Forms.MenuStrip mnuMain
return System.Windows.Forms.MenuStrip

stitle public static property

public static string stitle
return string

sver public static property

public static string sver
return string

txtOut public property

public System.Windows.Forms.RichTextBox txtOut
return System.Windows.Forms.RichTextBox

xDoc public property

public XmlDocument,System.Xml xDoc
return System.Xml.XmlDocument