C# Class Reko.Gui.Windows.Controls.MemoryControl

Displays the contents of memory and allows selection of memory ranges.
Memory that has been identified is colored.

A memory cell is displayed with a one-pixel border on all sides to help present it with selections.

Inheritance: System.Windows.Forms.Control
ファイルを表示 Open project: uxmal/reko Class Usage Examples

Private Properties

Property Type Description
AffectSelection void
CacheCellSize void
ChangeMemoryArea void
GetSegmentFromAddress Reko.Core.ImageSegment
IsAddressInSelection bool
IsVisible bool
MoveSelection void
RoundToNearestRow Address
ShouldChangeSelection bool
UpdateScroll void
vscroller_Scroll void

Public Methods

Method Description
AddressToPoint ( Address addr ) : Point
GetAddressRange ( ) : Reko.Core.AddressRange

Returns the selection as an address range. Note that the range is a closed interval in the address space.

MemoryControl ( ) : Reko
SetAddressRange ( Address addrAnchor, Address addrSelected ) : void
imageMap_MapChanged ( object sender, EventArgs e ) : void

Protected Methods

Method Description
IsInputKey ( Keys keyData ) : bool
OnHandleCreated ( EventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs pea ) : void
OnSelectionChanged ( ) : void
OnSizeChanged ( EventArgs e ) : void

Private Methods

Method Description
AffectSelection ( MouseEventArgs e ) : void
CacheCellSize ( ) : void
ChangeMemoryArea ( Reko.Core.ImageSegment seg ) : void
GetSegmentFromAddress ( Address addr ) : Reko.Core.ImageSegment
IsAddressInSelection ( Address addr ) : bool
IsVisible ( Address addr ) : bool
MoveSelection ( int offset, Keys modifiers ) : void
RoundToNearestRow ( Address addr ) : Address
ShouldChangeSelection ( MouseEventArgs e, Address addrClicked ) : bool
UpdateScroll ( ) : void
vscroller_Scroll ( object sender, ScrollEventArgs e ) : void

Method Details

AddressToPoint() public method

public AddressToPoint ( Address addr ) : Point
addr Address
return Point

GetAddressRange() public method

Returns the selection as an address range. Note that the range is a closed interval in the address space.
public GetAddressRange ( ) : Reko.Core.AddressRange
return Reko.Core.AddressRange

IsInputKey() protected method

protected IsInputKey ( Keys keyData ) : bool
keyData Keys
return bool

MemoryControl() public method

public MemoryControl ( ) : Reko
return Reko

OnHandleCreated() protected method

protected OnHandleCreated ( EventArgs e ) : void
e System.EventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseWheel() protected method

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs pea ) : void
pea PaintEventArgs
return void

OnSelectionChanged() protected method

protected OnSelectionChanged ( ) : void
return void

OnSizeChanged() protected method

protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
return void

SetAddressRange() public method

public SetAddressRange ( Address addrAnchor, Address addrSelected ) : void
addrAnchor Address
addrSelected Address
return void

imageMap_MapChanged() public method

public imageMap_MapChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void