C# 클래스 SIL.FieldWorks.FwCoreDlgControls.UpDownMeasureControl

The UpDownMeasureControl is a spinner control that handles measurements (in, cm, pt, etc)
상속: System.Windows.Forms.UpDownBase, IFWDisposable
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

Private Properties

프로퍼티 타입 설명
NudgeValue void
SetMsrValue void

공개 메소드들

메소드 설명
CheckDisposed ( ) : void

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.

DownButton ( ) : void

Handles the clicking of the down button on the spin box.

UpButton ( ) : void

Handles the clicking of the up button on the spin box.

UpDownMeasureControl ( ) : System

Initializes a new instance of the T:UpDownMeasureControl class.

보호된 메소드들

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

When focus is lost, validate the text since it may have been edited

UpdateEditText ( ) : void

Updates the text displayed in the spin box.

ValidateEditText ( ) : void

Validates the text displayed in the spin box.

비공개 메소드들

메소드 설명
NudgeValue ( int sign ) : void

Nudges the value up or down. If the current value is at a multiple of the increment amount, just increment/decrement it; otherwise bump it up/down to the next multiple.

SetMsrValue ( double mptValue ) : void

Sets the value of the measurement.

메소드 상세

CheckDisposed() 공개 메소드

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
public CheckDisposed ( ) : void
리턴 void

DownButton() 공개 메소드

Handles the clicking of the down button on the spin box.
public DownButton ( ) : void
리턴 void

OnLostFocus() 보호된 메소드

When focus is lost, validate the text since it may have been edited
protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
리턴 void

UpButton() 공개 메소드

Handles the clicking of the up button on the spin box.
public UpButton ( ) : void
리턴 void

UpDownMeasureControl() 공개 메소드

Initializes a new instance of the T:UpDownMeasureControl class.
public UpDownMeasureControl ( ) : System
리턴 System

UpdateEditText() 보호된 메소드

Updates the text displayed in the spin box.
protected UpdateEditText ( ) : void
리턴 void

ValidateEditText() 보호된 메소드

Validates the text displayed in the spin box.
protected ValidateEditText ( ) : void
리턴 void