C# Класс Be.HexEditor.FormHexEditor

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
recentFileHandler Be.HexEditor.RecentFileHandler

Открытые методы

Метод Описание
FormHexEditor ( ) : System
OpenFile ( string fileName ) : void

Opens a file.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
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

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

FormHexEditor() публичный Метод

public FormHexEditor ( ) : System
Результат System

OpenFile() публичный Метод

Opens a file.
public OpenFile ( string fileName ) : void
fileName string the file name of the file to open
Результат void

Описание свойств

recentFileHandler публичное свойство

public RecentFileHandler,Be.HexEditor recentFileHandler
Результат Be.HexEditor.RecentFileHandler