C# Class entity.HexEditor.HexView

The hex view.
Inheritance: System.Windows.Forms.UserControl
Show file Open project: troymac1ure/Entity Class Usage Examples

Public Properties

Property Type Description
MapOffset long
filePath string

Public Methods

Method Description
Colorize ( ) : void

The colorize.

ConvertHexStringToByteArray ( string hex ) : void

The convert hex string to byte array.

GetBytes ( string hexString ) : byte[]

The get bytes.

GetOffsetInMeta ( ) : int

The get offset in meta.

HexView ( ) : System

Initializes a new instance of the HexView class.

Reload ( Meta m, Map map ) : void

The reload.

Setup ( string path ) : void

The setup.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ClearTxt ( ) : void

The clear txt.

ConvertBytesToBoolArray ( byte bytes ) : void

The convert bytes to bool array.

ConvertBytesTosbyte ( byte bytes ) : sbyte

The convert bytes tosbyte.

HexToByte ( string hex ) : byte

The hex to byte.

HexView_KeyDown ( object sender, KeyEventArgs e ) : void

The hex view_ key down.

InitializeComponent ( ) : void

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

IsHexDigit ( char c ) : bool

The is hex digit.

MakeBinaryStringFromBoolArray ( bool bits ) : void

The make binary string from bool array.

UpdateTxtbInfo ( ) : void

The update txtb info.

btnGoto_Click ( object sender, EventArgs e ) : void
btnSaveChanges_Click ( object sender, EventArgs e ) : void
cbRawNumber_SelectedIndexChanged ( object sender, EventArgs e ) : void
goToToolStripMenuItem_Click ( object sender, EventArgs e ) : void

The go to tool strip menu item_ click.

hexBox1_SelectionLengthChanged ( object sender, EventArgs e ) : void
hexBox1_SelectionStartChanged ( object sender, EventArgs e ) : void
lblMetaView_Click ( object sender, EventArgs e ) : void
lblRawView_Click ( object sender, EventArgs e ) : void
saveToolStripMenuItem_Click ( object sender, EventArgs e ) : void

The save tool strip menu item_ click.

txtbHexViewer_KeyDown ( object sender, KeyEventArgs e ) : void

The txtb hex viewer_ key down.

txtbHexViewer_KeyPress ( object sender, KeyPressEventArgs e ) : void

The txtb hex viewer_ key press.

Method Details

Colorize() public method

The colorize.
public Colorize ( ) : void
return void

ConvertHexStringToByteArray() public method

The convert hex string to byte array.
public ConvertHexStringToByteArray ( string hex ) : void
hex string The hex.
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

GetBytes() public static method

The get bytes.
public static GetBytes ( string hexString ) : byte[]
hexString string The hex string.
return byte[]

GetOffsetInMeta() public method

The get offset in meta.
public GetOffsetInMeta ( ) : int
return int

HexView() public method

Initializes a new instance of the HexView class.
public HexView ( ) : System
return System

Reload() public method

The reload.
public Reload ( Meta m, Map map ) : void
m HaloMap.Meta.Meta The m.
map HaloMap.Map.Map The map.
return void

Setup() public method

The setup.
public Setup ( string path ) : void
path string The path.
return void

Property Details

MapOffset public property

The map offset.
public long MapOffset
return long

filePath public property

The file path.
public string filePath
return string