C# Class ME3Explorer.SFARBasicEditor

ファイルを表示 Open project: ME3Explorer/ME3Explorer

Public Properties

Property Type Description
DialogOpenSfarFile System.Windows.Forms.OpenFileDialog
DialogSelectFileToReplace System.Windows.Forms.OpenFileDialog
addFileToolStripMenuItem System.Windows.Forms.ToolStripMenuItem
backgroundWorkerEditFile System.ComponentModel.BackgroundWorker
backgroundWorkerExtractFile System.ComponentModel.BackgroundWorker
contextMenuStripEditor System.Windows.Forms.ContextMenuStrip
deleteToolStripMenuItem System.Windows.Forms.ToolStripMenuItem
extractFileDialog System.Windows.Forms.SaveFileDialog
extractFolderDialog Microsoft.WindowsAPICodePack.Dialogs.CommonOpenFileDialog
extractToolStripMenuItem System.Windows.Forms.ToolStripMenuItem
groupBoxFile System.Windows.Forms.GroupBox
groupBoxSfar System.Windows.Forms.GroupBox
helpToolStripMenuItem System.Windows.Forms.ToolStripMenuItem
imageListIcons System.Windows.Forms.ImageList
labelBlockIndex System.Windows.Forms.Label
labelComprRatio System.Windows.Forms.Label
labelComprSize System.Windows.Forms.Label
labelComprSizeBytes System.Windows.Forms.Label
labelDataOffset System.Windows.Forms.Label
labelEntry System.Windows.Forms.Label
labelFileSize System.Windows.Forms.Label
labelFirstBlockOffset System.Windows.Forms.Label
labelFirstDataOffset System.Windows.Forms.Label
labelFirstEntryOffset System.Windows.Forms.Label
labelFullName System.Windows.Forms.Label
labelHash System.Windows.Forms.Label
labelNumOfFiles System.Windows.Forms.Label
labelTotalComprBytes System.Windows.Forms.Label
labelTotalComprSize System.Windows.Forms.Label
labelTotalUncBytes System.Windows.Forms.Label
labelTotalUncSize System.Windows.Forms.Label
labelUncSizeBytes System.Windows.Forms.Label
propertiesToolStripMenuItem System.Windows.Forms.ToolStripMenuItem
replaceToolStripMenuItem System.Windows.Forms.ToolStripMenuItem
statusStrip System.Windows.Forms.StatusStrip
textBoxBlockIndex System.Windows.Forms.TextBox
textBoxCRatio System.Windows.Forms.TextBox
textBoxComprSize System.Windows.Forms.TextBox
textBoxDataOffset System.Windows.Forms.TextBox
textBoxEntry System.Windows.Forms.TextBox
textBoxFirstBlockOffset System.Windows.Forms.TextBox
textBoxFirstDataOffset System.Windows.Forms.TextBox
textBoxFirstEntryOffset System.Windows.Forms.TextBox
textBoxFullName System.Windows.Forms.TextBox
textBoxHash System.Windows.Forms.TextBox
textBoxNumOfFiles System.Windows.Forms.TextBox
textBoxTotalComprSize System.Windows.Forms.TextBox
textBoxTotalUncSize System.Windows.Forms.TextBox
textBoxUncSize System.Windows.Forms.TextBox
toolStripAbout System.Windows.Forms.ToolStripButton
toolStripInfo System.Windows.Forms.ToolStripButton
toolStripMenu System.Windows.Forms.ToolStrip
toolStripOpenFile System.Windows.Forms.ToolStripButton
toolStripProgressBar System.Windows.Forms.ToolStripProgressBar
toolStripSaveFile System.Windows.Forms.ToolStripButton
toolStripSeparator System.Windows.Forms.ToolStripSeparator
toolStripStatusLabel System.Windows.Forms.ToolStripStatusLabel
treeViewSfar System.Windows.Forms.TreeView
undoToolStripMenuItem System.Windows.Forms.ToolStripMenuItem

Public Methods

Method Description
InitializeComponent ( ) : void

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

SFARBasicEditor ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddNode ( TreeNode node, string key ) : TreeNode
MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
addFileToolStripMenuItem_Click ( object sender, EventArgs e ) : void
backgroundWorkerExtractFile_DoWork ( object sender, DoWorkEventArgs e ) : void
backgroundWorkerExtractFile_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
backgroundWorkerReplaceFile_DoWork ( object sender, DoWorkEventArgs e ) : void
backgroundWorkerReplaceFile_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
deleteToolStripMenuItem_Click ( object sender, EventArgs e ) : void
extractToolStripMenuItem_Click ( object sender, EventArgs e ) : void
getFolderPath ( TreeNode node ) : string
isFile ( TreeNode node ) : bool
isFolder ( TreeNode node ) : bool
isRoot ( TreeNode node ) : bool
openSfarFile ( string fileName ) : void
propertiesToolStripMenuItem_Click ( object sender, EventArgs e ) : void
replaceToolStripMenuItem_Click ( object sender, EventArgs e ) : void
setSize ( long byteVal, float &outVal, string &byteSize ) : void
toolStripAbout_Click ( object sender, EventArgs e ) : void
toolStripInfo_Click ( object sender, EventArgs e ) : void
toolStripOpenFile_Click ( object sender, EventArgs e ) : void
toolStripSaveFile_Click ( object sender, EventArgs e ) : void
treeViewSfar_AfterSelect ( object sender, TreeViewEventArgs e ) : void
treeViewSfar_NodeMouseClick ( object sender, TreeNodeMouseClickEventArgs e ) : void
undoToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

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

InitializeComponent() public method

Required method for Designer support - do not modify the contents of this method with the code editor.
public InitializeComponent ( ) : void
return void

SFARBasicEditor() public method

public SFARBasicEditor ( ) : System
return System

Property Details

DialogOpenSfarFile public_oe property

public System.Windows.Forms.OpenFileDialog DialogOpenSfarFile
return System.Windows.Forms.OpenFileDialog

DialogSelectFileToReplace public_oe property

public System.Windows.Forms.OpenFileDialog DialogSelectFileToReplace
return System.Windows.Forms.OpenFileDialog

addFileToolStripMenuItem public_oe property

public System.Windows.Forms.ToolStripMenuItem addFileToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem

backgroundWorkerEditFile public_oe property

public System.ComponentModel.BackgroundWorker backgroundWorkerEditFile
return System.ComponentModel.BackgroundWorker

backgroundWorkerExtractFile public_oe property

public System.ComponentModel.BackgroundWorker backgroundWorkerExtractFile
return System.ComponentModel.BackgroundWorker

contextMenuStripEditor public_oe property

public System.Windows.Forms.ContextMenuStrip contextMenuStripEditor
return System.Windows.Forms.ContextMenuStrip

deleteToolStripMenuItem public_oe property

public System.Windows.Forms.ToolStripMenuItem deleteToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem

extractFileDialog public_oe property

public System.Windows.Forms.SaveFileDialog extractFileDialog
return System.Windows.Forms.SaveFileDialog

extractFolderDialog public_oe property

public Microsoft.WindowsAPICodePack.Dialogs.CommonOpenFileDialog extractFolderDialog
return Microsoft.WindowsAPICodePack.Dialogs.CommonOpenFileDialog

extractToolStripMenuItem public_oe property

public System.Windows.Forms.ToolStripMenuItem extractToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem

groupBoxFile public_oe property

public System.Windows.Forms.GroupBox groupBoxFile
return System.Windows.Forms.GroupBox

groupBoxSfar public_oe property

public System.Windows.Forms.GroupBox groupBoxSfar
return System.Windows.Forms.GroupBox

helpToolStripMenuItem public_oe property

public System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem

imageListIcons public_oe property

public System.Windows.Forms.ImageList imageListIcons
return System.Windows.Forms.ImageList

labelBlockIndex public_oe property

public System.Windows.Forms.Label labelBlockIndex
return System.Windows.Forms.Label

labelComprRatio public_oe property

public System.Windows.Forms.Label labelComprRatio
return System.Windows.Forms.Label

labelComprSize public_oe property

public System.Windows.Forms.Label labelComprSize
return System.Windows.Forms.Label

labelComprSizeBytes public_oe property

public System.Windows.Forms.Label labelComprSizeBytes
return System.Windows.Forms.Label

labelDataOffset public_oe property

public System.Windows.Forms.Label labelDataOffset
return System.Windows.Forms.Label

labelEntry public_oe property

public System.Windows.Forms.Label labelEntry
return System.Windows.Forms.Label

labelFileSize public_oe property

public System.Windows.Forms.Label labelFileSize
return System.Windows.Forms.Label

labelFirstBlockOffset public_oe property

public System.Windows.Forms.Label labelFirstBlockOffset
return System.Windows.Forms.Label

labelFirstDataOffset public_oe property

public System.Windows.Forms.Label labelFirstDataOffset
return System.Windows.Forms.Label

labelFirstEntryOffset public_oe property

public System.Windows.Forms.Label labelFirstEntryOffset
return System.Windows.Forms.Label

labelFullName public_oe property

public System.Windows.Forms.Label labelFullName
return System.Windows.Forms.Label

labelHash public_oe property

public System.Windows.Forms.Label labelHash
return System.Windows.Forms.Label

labelNumOfFiles public_oe property

public System.Windows.Forms.Label labelNumOfFiles
return System.Windows.Forms.Label

labelTotalComprBytes public_oe property

public System.Windows.Forms.Label labelTotalComprBytes
return System.Windows.Forms.Label

labelTotalComprSize public_oe property

public System.Windows.Forms.Label labelTotalComprSize
return System.Windows.Forms.Label

labelTotalUncBytes public_oe property

public System.Windows.Forms.Label labelTotalUncBytes
return System.Windows.Forms.Label

labelTotalUncSize public_oe property

public System.Windows.Forms.Label labelTotalUncSize
return System.Windows.Forms.Label

labelUncSizeBytes public_oe property

public System.Windows.Forms.Label labelUncSizeBytes
return System.Windows.Forms.Label

propertiesToolStripMenuItem public_oe property

public System.Windows.Forms.ToolStripMenuItem propertiesToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem

replaceToolStripMenuItem public_oe property

public System.Windows.Forms.ToolStripMenuItem replaceToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem

statusStrip public_oe property

public System.Windows.Forms.StatusStrip statusStrip
return System.Windows.Forms.StatusStrip

textBoxBlockIndex public_oe property

public System.Windows.Forms.TextBox textBoxBlockIndex
return System.Windows.Forms.TextBox

textBoxCRatio public_oe property

public System.Windows.Forms.TextBox textBoxCRatio
return System.Windows.Forms.TextBox

textBoxComprSize public_oe property

public System.Windows.Forms.TextBox textBoxComprSize
return System.Windows.Forms.TextBox

textBoxDataOffset public_oe property

public System.Windows.Forms.TextBox textBoxDataOffset
return System.Windows.Forms.TextBox

textBoxEntry public_oe property

public System.Windows.Forms.TextBox textBoxEntry
return System.Windows.Forms.TextBox

textBoxFirstBlockOffset public_oe property

public System.Windows.Forms.TextBox textBoxFirstBlockOffset
return System.Windows.Forms.TextBox

textBoxFirstDataOffset public_oe property

public System.Windows.Forms.TextBox textBoxFirstDataOffset
return System.Windows.Forms.TextBox

textBoxFirstEntryOffset public_oe property

public System.Windows.Forms.TextBox textBoxFirstEntryOffset
return System.Windows.Forms.TextBox

textBoxFullName public_oe property

public System.Windows.Forms.TextBox textBoxFullName
return System.Windows.Forms.TextBox

textBoxHash public_oe property

public System.Windows.Forms.TextBox textBoxHash
return System.Windows.Forms.TextBox

textBoxNumOfFiles public_oe property

public System.Windows.Forms.TextBox textBoxNumOfFiles
return System.Windows.Forms.TextBox

textBoxTotalComprSize public_oe property

public System.Windows.Forms.TextBox textBoxTotalComprSize
return System.Windows.Forms.TextBox

textBoxTotalUncSize public_oe property

public System.Windows.Forms.TextBox textBoxTotalUncSize
return System.Windows.Forms.TextBox

textBoxUncSize public_oe property

public System.Windows.Forms.TextBox textBoxUncSize
return System.Windows.Forms.TextBox

toolStripAbout public_oe property

public System.Windows.Forms.ToolStripButton toolStripAbout
return System.Windows.Forms.ToolStripButton

toolStripInfo public_oe property

public System.Windows.Forms.ToolStripButton toolStripInfo
return System.Windows.Forms.ToolStripButton

toolStripMenu public_oe property

public System.Windows.Forms.ToolStrip toolStripMenu
return System.Windows.Forms.ToolStrip

toolStripOpenFile public_oe property

public System.Windows.Forms.ToolStripButton toolStripOpenFile
return System.Windows.Forms.ToolStripButton

toolStripProgressBar public_oe property

public System.Windows.Forms.ToolStripProgressBar toolStripProgressBar
return System.Windows.Forms.ToolStripProgressBar

toolStripSaveFile public_oe property

public System.Windows.Forms.ToolStripButton toolStripSaveFile
return System.Windows.Forms.ToolStripButton

toolStripSeparator public_oe property

public System.Windows.Forms.ToolStripSeparator toolStripSeparator
return System.Windows.Forms.ToolStripSeparator

toolStripStatusLabel public_oe property

public System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel
return System.Windows.Forms.ToolStripStatusLabel

treeViewSfar public_oe property

public System.Windows.Forms.TreeView treeViewSfar
return System.Windows.Forms.TreeView

undoToolStripMenuItem public_oe property

public System.Windows.Forms.ToolStripMenuItem undoToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem