C# Class VAGSuite.HexViewer

Inheritance: DevExpress.XtraEditors.XtraUserControl
Show file Open project: Blackfrosch/VAGEDCSuite Class Usage Examples

Public Methods

Method Description
CloseFile ( ) : DialogResult
HexViewer ( ) : System
LoadDataFromFile ( string filename, SymbolCollection symbols ) : void
SelectText ( string symbolname, int fileoffset, int length ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CastCloseEvent ( ) : void
CastSelectionChanged ( int offset, int length ) : void
CleanUp ( ) : void
Find ( ) : void
FindNext ( ) : void
FormFindCancel_Closed ( object sender, EventArgs e ) : void
GetSymbolName ( long index ) : string
GetSymbolNameOffSetAndLength ( long index, int &offset, int &length ) : string
InitializeComponent ( ) : void

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

ManageAbility ( ) : void
ManageAbilityForCopyAndPaste ( ) : void

Manages enabling or disabling of menu items and toolbar buttons for copy and paste

OpenFile ( string fileName ) : void
SaveFile ( ) : void

Saves the current file.

byteProvider_Changed ( object sender, EventArgs e ) : void
hexBox1_CurrentPositionInLineChanged ( object sender, EventArgs e ) : void
hexBox1_DoubleClick ( object sender, EventArgs e ) : void
hexBox1_DragDrop ( object sender, DragEventArgs e ) : void
hexBox1_DragEnter ( object sender, DragEventArgs e ) : void
hexBox1_SelectionLengthChanged ( object sender, EventArgs e ) : void
hexBox1_SelectionStartChanged ( object sender, EventArgs e ) : void
miClose_Click ( object sender, EventArgs e ) : void
miCopy_Click ( object sender, EventArgs e ) : void
miCut_Click ( object sender, EventArgs e ) : void
miFindNext_Click ( object sender, EventArgs e ) : void
miFind_Click ( object sender, EventArgs e ) : void
miPaste_Click ( object sender, EventArgs e ) : void
miSave_Click ( object sender, EventArgs e ) : void
openToolStripButton_Click ( object sender, EventArgs e ) : void
printToolStripButton_Click ( object sender, EventArgs e ) : void
toolStripButton1_Click ( object sender, EventArgs e ) : void

Method Details

CloseFile() public method

public CloseFile ( ) : DialogResult
return DialogResult

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

HexViewer() public method

public HexViewer ( ) : System
return System

LoadDataFromFile() public method

public LoadDataFromFile ( string filename, SymbolCollection symbols ) : void
filename string
symbols SymbolCollection
return void

SelectText() public method

public SelectText ( string symbolname, int fileoffset, int length ) : void
symbolname string
fileoffset int
length int
return void