C# 클래스 SIL.FieldWorks.Common.Framework.DetailControls.StringSlice.StringSliceView

상속: SIL.FieldWorks.Common.RootSites.RootSiteControl, INotifyControlInCurrentSlice
파일 보기 프로젝트 열기: sillsdev/FieldWorks

공개 메소드들

메소드 설명
MakeRoot ( ) : void
SelectAt ( int ich ) : void

Make a selection at the specified character offset.

StringSliceView ( int hvo, int flid, int ws ) : System

보호된 메소드들

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

Executes in two distinct scenarios. 1. If disposing is true, the method has been called directly or indirectly by a user's code via the Dispose method. Both managed and unmanaged resources can be disposed. 2. If disposing is false, the method has been called by the runtime from inside the finalizer and you should not reference (access) other managed objects, as they already have been garbage collected. Only unmanaged resources can be disposed.

If any exceptions are thrown, that is fine. If the method is being done in a finalizer, it will be ignored. If it is thrown by client code calling Dispose, it needs to be handled by fixing the bug. If subclasses override this method, they should call the base implementation.

HandleSelectionChange ( IVwRootBox prootb, IVwSelection vwselNew ) : void

Try to keep the selection from including any of the characters in a writing system label. Also update the writing system label if needed.

OnKeyPress ( KeyPressEventArgs e ) : void

If the view's root object is valid, then call the base method. Otherwise do nothing. (See LT-8656 and LT-9119.)

OnValidating ( System e ) : void

This method seems to get called when we are switching to another tool (or area, or slice) AND when the program is shutting down. This makes it a good point to check constraints, since in some of these cases, SliceIsCurrent may not get set false.

비공개 메소드들

메소드 설명
DoValidation ( ) : void

메소드 상세

Dispose() 보호된 메소드

Executes in two distinct scenarios. 1. If disposing is true, the method has been called directly or indirectly by a user's code via the Dispose method. Both managed and unmanaged resources can be disposed. 2. If disposing is false, the method has been called by the runtime from inside the finalizer and you should not reference (access) other managed objects, as they already have been garbage collected. Only unmanaged resources can be disposed.
If any exceptions are thrown, that is fine. If the method is being done in a finalizer, it will be ignored. If it is thrown by client code calling Dispose, it needs to be handled by fixing the bug. If subclasses override this method, they should call the base implementation.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

HandleSelectionChange() 보호된 메소드

Try to keep the selection from including any of the characters in a writing system label. Also update the writing system label if needed.
protected HandleSelectionChange ( IVwRootBox prootb, IVwSelection vwselNew ) : void
prootb IVwRootBox
vwselNew IVwSelection
리턴 void

MakeRoot() 공개 메소드

public MakeRoot ( ) : void
리턴 void

OnKeyPress() 보호된 메소드

If the view's root object is valid, then call the base method. Otherwise do nothing. (See LT-8656 and LT-9119.)
protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs
리턴 void

OnValidating() 보호된 메소드

This method seems to get called when we are switching to another tool (or area, or slice) AND when the program is shutting down. This makes it a good point to check constraints, since in some of these cases, SliceIsCurrent may not get set false.
protected OnValidating ( System e ) : void
e System
리턴 void

SelectAt() 공개 메소드

Make a selection at the specified character offset.
public SelectAt ( int ich ) : void
ich int
리턴 void

StringSliceView() 공개 메소드

public StringSliceView ( int hvo, int flid, int ws ) : System
hvo int
flid int
ws int
리턴 System