C# 클래스 SIL.FieldWorks.TE.PromptSelectionRestorer

This class is responsible to save selection information before some operation (currently typically a KeyPress) which might result in an ordinary string property being replaced by a prompt. The replacement will typically destroy the selection. This code saves the information needed to restore a selection in the prompt after the operation. Typical usage: using new PromptSelectionRestorer(rootbox) base.OnKeyPress();
상속: IDisposable
파일 보기 프로젝트 열기: sillsdev/FieldWorks

공개 메소드들

메소드 설명
Dispose ( ) : void

We consciously don't do the usual destructor stuff. There's nothing useful to do unless properly disposed.

PromptSelectionRestorer ( IVwRootBox rootbox ) : System

Make one.

메소드 상세

Dispose() 공개 메소드

We consciously don't do the usual destructor stuff. There's nothing useful to do unless properly disposed.
public Dispose ( ) : void
리턴 void

PromptSelectionRestorer() 공개 메소드

Make one.
public PromptSelectionRestorer ( IVwRootBox rootbox ) : System
rootbox IVwRootBox
리턴 System