C# 클래스 System.Windows.Forms.HexBox

상속: Control
파일 보기 프로젝트 열기: Zepheus/Fiesta_Utils 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ActivateEmptyKeyInterpreter void
ActivateKeyInterpreter void
ActivateStringKeyInterpreter void
BasePreProcessMessage bool
CheckCurrentLineChanged void
CheckCurrentPositionInLineChanged void
CreateCaret void
DestroyCaret void
FromScrollPos long
GetBytePointF System.Drawing.PointF
GetBytePointF System.Drawing.PointF
GetByteStringPointF System.Drawing.PointF
GetDefaultForeColor Color
GetGridBytePoint Point
GetHexBytePositionInfo BytePositionInfo
GetStringBytePositionInfo BytePositionInfo
InternalSelect void
PaintCurrentByteSign void
PaintCurrentBytesSign void
PaintHex void
PaintHexAndStringView void
PaintHexString void
PaintHexStringSelected void
PaintLineInfo void
PerformScrollLineDown void
PerformScrollLineUp void
PerformScrollLines void
PerformScrollPageDown void
PerformScrollPageUp void
PerformScrollThumbTrack void
PerformScrollThumpPosition void
PerformScrollToLine void
PreProcessMessage bool
ReleaseSelection void
SetCaretPosition void
SetHorizontalByteCount void
SetPosition void
SetPosition void
SetSelectionLength void
SetVerticalByteCount void
ToScrollMax int
ToScrollPos int
UpdateCaret void
UpdateRectanglePositioning void
UpdateScrollSize void
UpdateVScroll void
UpdateVisibilityBytes void
_byteProvider_LengthChanged void
_vScrollBar_Scroll void

공개 메소드들

메소드 설명
AbortFind ( ) : void

Aborts a working Find method.

CanCopy ( ) : bool

Return true if Copy method could be invoked.

CanCut ( ) : bool

Return true if Cut method could be invoked.

CanPaste ( ) : bool

Return true if Paste method could be invoked.

Copy ( ) : void

Copies the current selection in the hex box to the Clipboard.

Cut ( ) : void

Moves the current selection in the hex box to the Clipboard.

Find ( byte bytes, long startIndex ) : long

Searches the current ByteProvider

HexBox ( ) : System

Initializes a new instance of a HexBox class.

Paste ( ) : void

Replaces the current selection in the hex box with the contents of the Clipboard.

ScrollByteIntoView ( ) : void

Scrolls the selection start byte into view

ScrollByteIntoView ( long index ) : void

Scrolls the specific byte into view

Select ( long start, long length ) : void

Selects the hex box.

보호된 메소드들

메소드 설명
OnBorderStyleChanged ( EventArgs e ) : void

Raises the BorderStyleChanged event.

OnByteProviderChanged ( EventArgs e ) : void

Raises the ByteProviderChanged event.

OnBytesPerLineChanged ( EventArgs e ) : void

Raises the BytesPerLineChanged event.

OnCurrentLineChanged ( EventArgs e ) : void

Raises the CurrentLineChanged event.

OnCurrentPositionInLineChanged ( EventArgs e ) : void

Raises the CurrentPositionInLineChanged event.

OnGotFocus ( EventArgs e ) : void

Raises the GotFocus event.

OnHexCasingChanged ( EventArgs e ) : void

Raises the HexCasingChanged event.

OnHorizontalByteCountChanged ( EventArgs e ) : void

Raises the HorizontalByteCountChanged event.

OnInsertActiveChanged ( EventArgs e ) : void

Raises the InsertActiveChanged event.

OnLineInfoVisibleChanged ( EventArgs e ) : void

Raises the LineInfoVisibleChanged event.

OnLostFocus ( EventArgs e ) : void

Raises the LostFocus event.

OnMouseDown ( MouseEventArgs e ) : void

Raises the MouseDown event.

OnMouseWheel ( MouseEventArgs e ) : void

Raises the MouseWhell event

OnPaint ( PaintEventArgs e ) : void

Paints the hex box.

OnPaintBackground ( PaintEventArgs e ) : void

Paints the background.

OnReadOnlyChanged ( EventArgs e ) : void

Raises the ReadOnlyChanged event.

OnResize ( EventArgs e ) : void

Raises the Resize event.

OnSelectionLengthChanged ( EventArgs e ) : void

Raises the SelectionLengthChanged event.

OnSelectionStartChanged ( EventArgs e ) : void

Raises the SelectionStartChanged event.

OnStringViewVisibleChanged ( EventArgs e ) : void

Raises the StringViewVisibleChanged event.

OnUseFixedBytesPerLineChanged ( EventArgs e ) : void

Raises the UseFixedBytesPerLineChanged event.

OnVScrollBarVisibleChanged ( EventArgs e ) : void

Raises the VScrollBarVisibleChanged event.

OnVerticalByteCountChanged ( EventArgs e ) : void

Raises the VerticalByteCountChanged event.

비공개 메소드들

메소드 설명
ActivateEmptyKeyInterpreter ( ) : void
ActivateKeyInterpreter ( ) : void
ActivateStringKeyInterpreter ( ) : void
BasePreProcessMessage ( Message &m ) : bool
CheckCurrentLineChanged ( ) : void
CheckCurrentPositionInLineChanged ( ) : void
CreateCaret ( ) : void
DestroyCaret ( ) : void
FromScrollPos ( int value ) : long
GetBytePointF ( Point gp ) : PointF
GetBytePointF ( long byteIndex ) : PointF
GetByteStringPointF ( Point gp ) : PointF
GetDefaultForeColor ( ) : Color
GetGridBytePoint ( long byteIndex ) : Point
GetHexBytePositionInfo ( Point p ) : BytePositionInfo
GetStringBytePositionInfo ( Point p ) : BytePositionInfo
InternalSelect ( long start, long length ) : void
PaintCurrentByteSign ( Graphics g, Rectangle rec ) : void
PaintCurrentBytesSign ( Graphics g ) : void
PaintHex ( Graphics g, long startByte, long endByte ) : void
PaintHexAndStringView ( Graphics g, long startByte, long endByte ) : void
PaintHexString ( Graphics g, byte b, Brush brush, Point gridPoint ) : void
PaintHexStringSelected ( Graphics g, byte b, Brush brush, Brush brushBack, Point gridPoint ) : void
PaintLineInfo ( Graphics g, long startByte, long endByte ) : void
PerformScrollLineDown ( ) : void
PerformScrollLineUp ( ) : void
PerformScrollLines ( int lines ) : void
PerformScrollPageDown ( ) : void
PerformScrollPageUp ( ) : void
PerformScrollThumbTrack ( object sender, EventArgs e ) : void

Performs the thumbtrack scrolling after an delay.

PerformScrollThumpPosition ( long pos ) : void
PerformScrollToLine ( long pos ) : void
PreProcessMessage ( Message &m ) : bool
ReleaseSelection ( ) : void
SetCaretPosition ( Point p ) : void
SetHorizontalByteCount ( int value ) : void
SetPosition ( long bytePos ) : void
SetPosition ( long bytePos, int byteCharacterPos ) : void
SetSelectionLength ( long selectionLength ) : void
SetVerticalByteCount ( int value ) : void
ToScrollMax ( long value ) : int
ToScrollPos ( long value ) : int
UpdateCaret ( ) : void
UpdateRectanglePositioning ( ) : void
UpdateScrollSize ( ) : void
UpdateVScroll ( ) : void
UpdateVisibilityBytes ( ) : void
_byteProvider_LengthChanged ( object sender, EventArgs e ) : void
_vScrollBar_Scroll ( object sender, ScrollEventArgs e ) : void

메소드 상세

AbortFind() 공개 메소드

Aborts a working Find method.
public AbortFind ( ) : void
리턴 void

CanCopy() 공개 메소드

Return true if Copy method could be invoked.
public CanCopy ( ) : bool
리턴 bool

CanCut() 공개 메소드

Return true if Cut method could be invoked.
public CanCut ( ) : bool
리턴 bool

CanPaste() 공개 메소드

Return true if Paste method could be invoked.
public CanPaste ( ) : bool
리턴 bool

Copy() 공개 메소드

Copies the current selection in the hex box to the Clipboard.
public Copy ( ) : void
리턴 void

Cut() 공개 메소드

Moves the current selection in the hex box to the Clipboard.
public Cut ( ) : void
리턴 void

Find() 공개 메소드

Searches the current ByteProvider
public Find ( byte bytes, long startIndex ) : long
bytes byte the array of bytes to find
startIndex long the start index
리턴 long

HexBox() 공개 메소드

Initializes a new instance of a HexBox class.
public HexBox ( ) : System
리턴 System

OnBorderStyleChanged() 보호된 메소드

Raises the BorderStyleChanged event.
protected OnBorderStyleChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
리턴 void

OnByteProviderChanged() 보호된 메소드

Raises the ByteProviderChanged event.
protected OnByteProviderChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnBytesPerLineChanged() 보호된 메소드

Raises the BytesPerLineChanged event.
protected OnBytesPerLineChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnCurrentLineChanged() 보호된 메소드

Raises the CurrentLineChanged event.
protected OnCurrentLineChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnCurrentPositionInLineChanged() 보호된 메소드

Raises the CurrentPositionInLineChanged event.
protected OnCurrentPositionInLineChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnGotFocus() 보호된 메소드

Raises the GotFocus event.
protected OnGotFocus ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnHexCasingChanged() 보호된 메소드

Raises the HexCasingChanged event.
protected OnHexCasingChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnHorizontalByteCountChanged() 보호된 메소드

Raises the HorizontalByteCountChanged event.
protected OnHorizontalByteCountChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnInsertActiveChanged() 보호된 메소드

Raises the InsertActiveChanged event.
protected OnInsertActiveChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnLineInfoVisibleChanged() 보호된 메소드

Raises the LineInfoVisibleChanged event.
protected OnLineInfoVisibleChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnLostFocus() 보호된 메소드

Raises the LostFocus event.
protected OnLostFocus ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnMouseDown() 보호된 메소드

Raises the MouseDown event.
protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs An EventArgs that contains the event data.
리턴 void

OnMouseWheel() 보호된 메소드

Raises the MouseWhell event
protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs An EventArgs that contains the event data.
리턴 void

OnPaint() 보호된 메소드

Paints the hex box.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs that contains the event data.
리턴 void

OnPaintBackground() 보호된 메소드

Paints the background.
protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs that contains the event data.
리턴 void

OnReadOnlyChanged() 보호된 메소드

Raises the ReadOnlyChanged event.
protected OnReadOnlyChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnResize() 보호된 메소드

Raises the Resize event.
protected OnResize ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnSelectionLengthChanged() 보호된 메소드

Raises the SelectionLengthChanged event.
protected OnSelectionLengthChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnSelectionStartChanged() 보호된 메소드

Raises the SelectionStartChanged event.
protected OnSelectionStartChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnStringViewVisibleChanged() 보호된 메소드

Raises the StringViewVisibleChanged event.
protected OnStringViewVisibleChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnUseFixedBytesPerLineChanged() 보호된 메소드

Raises the UseFixedBytesPerLineChanged event.
protected OnUseFixedBytesPerLineChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnVScrollBarVisibleChanged() 보호된 메소드

Raises the VScrollBarVisibleChanged event.
protected OnVScrollBarVisibleChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

OnVerticalByteCountChanged() 보호된 메소드

Raises the VerticalByteCountChanged event.
protected OnVerticalByteCountChanged ( EventArgs e ) : void
e EventArgs An EventArgs that contains the event data.
리턴 void

Paste() 공개 메소드

Replaces the current selection in the hex box with the contents of the Clipboard.
public Paste ( ) : void
리턴 void

ScrollByteIntoView() 공개 메소드

Scrolls the selection start byte into view
public ScrollByteIntoView ( ) : void
리턴 void

ScrollByteIntoView() 공개 메소드

Scrolls the specific byte into view
public ScrollByteIntoView ( long index ) : void
index long the index of the byte
리턴 void

Select() 공개 메소드

Selects the hex box.
public Select ( long start, long length ) : void
start long the start index of the selection
length long the length of the selection
리턴 void