C# 클래스 SIL.FieldWorks.SharpViews.SharpView

파일 보기 프로젝트 열기: sillsdev/FieldWorks

Private Properties

프로퍼티 타입 설명
DoLayout void
LayoutArg LayoutInfo
OnTimer void
PaintArg PaintTransform
ScrollBy void
ScrollToShowSelection void
SetScrollRange void
m_root_SizeChanged void

공개 메소드들

메소드 설명
InvalidateInRoot ( Rectangle rect ) : void

Do an invalidate, relative to the top left of the root box. Todo Zoom: allow for differing dpi.

OnApplyStyle ( string style ) : bool
OnDelete ( ) : void
OnDisplayEditCopy ( object commandObject, UIItemDisplayProperties &display ) : bool
OnDisplayEditCut ( object commandObject, UIItemDisplayProperties &display ) : bool
OnDisplayEditPaste ( object commandObject, UIItemDisplayProperties &display ) : bool
OnEditCopy ( object args ) : bool
OnEditCut ( object args ) : bool
OnEditPaste ( object args ) : bool
PerformAfterNotifications ( Action task ) : void

The current simple implementation is suitable for clients not using UOW. Enhance JohnT: When we support UOW, we need to save the actions if one is in progress, and do them all when it is complete.

SharpView ( ) : System

보호된 메소드들

메소드 설명
DestroyHandle ( ) : void
Dispose ( bool disposing ) : void

Clean up any resources being used.

IsInputKey ( Keys keyData ) : bool
OnDoubleClick ( EventArgs e ) : void
OnDragDrop ( DragEventArgs drgevent ) : void
OnDragEnter ( DragEventArgs drgevent ) : void
OnDragLeave ( EventArgs e ) : void
OnDragOver ( DragEventArgs drgevent ) : void

We treat a drag over just like a drag enter.

OnGotFocus ( EventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnKeyPress ( KeyPressEventArgs e ) : void
OnLayout ( LayoutEventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseClick ( MouseEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnQueryContinueDrag ( QueryContinueDragEventArgs qcdevent ) : void

비공개 메소드들

메소드 설명
DoLayout ( ) : void
LayoutArg ( GraphicsManager gm ) : LayoutInfo
OnTimer ( object sender, EventArgs e ) : void

Flash the insertion point if appropriate.

PaintArg ( IVwGraphics vg ) : PaintTransform
ScrollBy ( int dx, int dy ) : void
ScrollToShowSelection ( ) : void
SetScrollRange ( int sizeX, int sizeY ) : void

Given that the root box is sizeX layout units wide and sizeY layout units high, set the AutoScrollMinSize to allow scrolling an appropriate distance, and if necessary adjust the AutoScrollPosition.

m_root_SizeChanged ( object sender, RootBox e ) : void

메소드 상세

DestroyHandle() 보호된 메소드

protected DestroyHandle ( ) : void
리턴 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

InvalidateInRoot() 공개 메소드

Do an invalidate, relative to the top left of the root box. Todo Zoom: allow for differing dpi.
public InvalidateInRoot ( Rectangle rect ) : void
rect Rectangle
리턴 void

IsInputKey() 보호된 메소드

protected IsInputKey ( Keys keyData ) : bool
keyData Keys
리턴 bool

OnApplyStyle() 공개 메소드

public OnApplyStyle ( string style ) : bool
style string
리턴 bool

OnDelete() 공개 메소드

public OnDelete ( ) : void
리턴 void

OnDisplayEditCopy() 공개 메소드

public OnDisplayEditCopy ( object commandObject, UIItemDisplayProperties &display ) : bool
commandObject object
display UIItemDisplayProperties
리턴 bool

OnDisplayEditCut() 공개 메소드

public OnDisplayEditCut ( object commandObject, UIItemDisplayProperties &display ) : bool
commandObject object
display UIItemDisplayProperties
리턴 bool

OnDisplayEditPaste() 공개 메소드

public OnDisplayEditPaste ( object commandObject, UIItemDisplayProperties &display ) : bool
commandObject object
display UIItemDisplayProperties
리턴 bool

OnDoubleClick() 보호된 메소드

protected OnDoubleClick ( EventArgs e ) : void
e EventArgs
리턴 void

OnDragDrop() 보호된 메소드

protected OnDragDrop ( DragEventArgs drgevent ) : void
drgevent DragEventArgs
리턴 void

OnDragEnter() 보호된 메소드

protected OnDragEnter ( DragEventArgs drgevent ) : void
drgevent DragEventArgs
리턴 void

OnDragLeave() 보호된 메소드

protected OnDragLeave ( EventArgs e ) : void
e EventArgs
리턴 void

OnDragOver() 보호된 메소드

We treat a drag over just like a drag enter.
protected OnDragOver ( DragEventArgs drgevent ) : void
drgevent DragEventArgs
리턴 void

OnEditCopy() 공개 메소드

public OnEditCopy ( object args ) : bool
args object
리턴 bool

OnEditCut() 공개 메소드

public OnEditCut ( object args ) : bool
args object
리턴 bool

OnEditPaste() 공개 메소드

public OnEditPaste ( object args ) : bool
args object
리턴 bool

OnGotFocus() 보호된 메소드

protected OnGotFocus ( EventArgs e ) : void
e EventArgs
리턴 void

OnKeyDown() 보호된 메소드

protected OnKeyDown ( KeyEventArgs e ) : void
e KeyEventArgs
리턴 void

OnKeyPress() 보호된 메소드

protected OnKeyPress ( KeyPressEventArgs e ) : void
e KeyPressEventArgs
리턴 void

OnLayout() 보호된 메소드

protected OnLayout ( LayoutEventArgs e ) : void
e LayoutEventArgs
리턴 void

OnLostFocus() 보호된 메소드

protected OnLostFocus ( EventArgs e ) : void
e EventArgs
리턴 void

OnMouseClick() 보호된 메소드

protected OnMouseClick ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseDown() 보호된 메소드

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseMove() 보호된 메소드

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

OnQueryContinueDrag() 보호된 메소드

protected OnQueryContinueDrag ( QueryContinueDragEventArgs qcdevent ) : void
qcdevent QueryContinueDragEventArgs
리턴 void

PerformAfterNotifications() 공개 메소드

The current simple implementation is suitable for clients not using UOW. Enhance JohnT: When we support UOW, we need to save the actions if one is in progress, and do them all when it is complete.
public PerformAfterNotifications ( Action task ) : void
task Action
리턴 void

SharpView() 공개 메소드

public SharpView ( ) : System
리턴 System