C# Class Be.HexEditor.FormHexEditor

Mostra file Open project: appsec-labs/Advanced_Packet_Editor Class Usage Examples

Public Properties

Property Type Description
recentFileHandler Be.HexEditor.RecentFileHandler

Public Methods

Method Description
FormHexEditor ( ) : System
OpenFile ( string fileName ) : void

Opens a file.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CleanUp ( ) : void
CloseFile ( ) : DialogResult

Closes the current file

DisplayText ( ) : void

Displays the file name in the Form´s text property

Find ( ) : void

Opens the Find dialog

FindNext ( ) : void

Find next match

FocusToFormFindCancel ( object sender, EventArgs e ) : void

Put focus back to the cancel form.

FormFindCancel_Closed ( object sender, EventArgs e ) : void

Aborts the current find process

Goto ( ) : void

Displays the goto byte dialog.

Init ( ) : void

Initializes the hex editor´s main form

InitializeComponent ( ) : void

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

ManageAbility ( ) : void

Manages enabling or disabling of menu items and toolstrip buttons.

ManageAbilityForCopyAndPaste ( ) : void

Manages enabling or disabling of menustrip items and toolstrip buttons for copy and paste

OpenFile ( ) : void

Shows the open file dialog.

Position_Changed ( object sender, EventArgs e ) : void
SaveFile ( ) : void

Saves the current file.

UpdateFileSizeStatus ( ) : void

Updates the File size status label

about_Click ( object sender, EventArgs e ) : void
byteProvider_Changed ( object sender, EventArgs e ) : void
byteProvider_LengthChanged ( object sender, EventArgs e ) : void
copyHex_Click ( object sender, EventArgs e ) : void
copy_Click ( object sender, EventArgs e ) : void
cut_Click ( object sender, EventArgs e ) : void
exit_Click ( object sender, EventArgs e ) : void
find_Click ( object sender, EventArgs e ) : void
goTo_Click ( object sender, EventArgs e ) : void
hexBox_Copied ( object sender, EventArgs e ) : void
hexBox_CopiedHex ( object sender, EventArgs e ) : void
hexBox_DragDrop ( object sender, System e ) : void

Processes a file drop

hexBox_DragEnter ( object sender, System e ) : void

Enables drag&drop

hexBox_SelectionLengthChanged ( object sender, System e ) : void
hexBox_SelectionStartChanged ( object sender, System e ) : void
open_Click ( object sender, EventArgs e ) : void
options_Click ( object sender, EventArgs e ) : void
pasteHex_Click ( object sender, EventArgs e ) : void
paste_Click ( object sender, EventArgs e ) : void
recentFiles_DropDownItemClicked ( object sender, ToolStripItemClickedEventArgs e ) : void
save_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

FormHexEditor() public method

public FormHexEditor ( ) : System
return System

OpenFile() public method

Opens a file.
public OpenFile ( string fileName ) : void
fileName string the file name of the file to open
return void

Property Details

recentFileHandler public_oe property

public RecentFileHandler,Be.HexEditor recentFileHandler
return Be.HexEditor.RecentFileHandler