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

ImportDialog - gather information for a data import
상속: System.Windows.Forms.Form, IFWDisposable
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_StyleSheet FwStyleSheet
m_importSettings IScrImportSet
m_scr IScripture
scrPsgFrom SIL.FieldWorks.Common.Controls.ScrBookControl
scrPsgTo SIL.FieldWorks.Common.Controls.ScrBookControl

Private Properties

프로퍼티 타입 설명
InitBookNameList int
InitializeComponent void
InitializeStartAndEndRefControls void
SetEndRefToLastImportableBook void
SetStartRefToFirstImportableBook void
TypeOfDataToImportChanged void
btnHelp_Click void
btnSource_Click void
radImportRange_CheckedChanged void

공개 메소드들

메소드 설명
CheckDisposed ( ) : void

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

ClearDialogReferences ( ) : void

Clears the starting and ending references in this dialog.

ImportDialog ( ) : System

Default constructor for import dialog. Don't use this constructor at run time.

ImportDialog ( FwStyleSheet styleSheet, SIL.FieldWorks.FDO.FdoCache cache, IScrImportSet settings, IHelpTopicProvider helpTopicProvider, IApp app ) : System

Constructor for import dialog, requiring a language project. Use this constructor at run time.

보호된 메소드들

메소드 설명
OnClosing ( CancelEventArgs e ) : void

If the user didn't choose cancel, save the controls' values.

scrPsgFrom_PassageChanged ( ScrReference newReference ) : void

Handle a change in the scripture passage "from" control

scrPsgTo_PassageChanged ( ScrReference newReference ) : void

Handle a change in the scripture passage "to" control

비공개 메소드들

메소드 설명
InitBookNameList ( ) : int

Initialize a list of book names available from the import file list.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

InitializeStartAndEndRefControls ( ) : void

Initializes the start and end ref controls.

SetEndRefToLastImportableBook ( ) : void

Sets the end ref to last book available for import.

SetStartRefToFirstImportableBook ( ) : void

Sets the start ref to first book available for import.

TypeOfDataToImportChanged ( object sender, System e ) : void

Handle a change to the import type

btnHelp_Click ( object sender, System e ) : void

Bring up the help when the help button is clicked.

btnSource_Click ( object sender, System e ) : void

When the Source button is clicked, display the import wizard.

radImportRange_CheckedChanged ( object sender, System e ) : void

The scripture passage controls are only relevant when the user wants to import a range.

메소드 상세

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

ClearDialogReferences() 공개 정적인 메소드

Clears the starting and ending references in this dialog.
public static ClearDialogReferences ( ) : void
리턴 void

ImportDialog() 공개 메소드

Default constructor for import dialog. Don't use this constructor at run time.
public ImportDialog ( ) : System
리턴 System

ImportDialog() 공개 메소드

Constructor for import dialog, requiring a language project. Use this constructor at run time.
public ImportDialog ( FwStyleSheet styleSheet, SIL.FieldWorks.FDO.FdoCache cache, IScrImportSet settings, IHelpTopicProvider helpTopicProvider, IApp app ) : System
styleSheet FwStyleSheet
cache SIL.FieldWorks.FDO.FdoCache
settings IScrImportSet
helpTopicProvider IHelpTopicProvider
app IApp
리턴 System

OnClosing() 보호된 메소드

If the user didn't choose cancel, save the controls' values.
protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
리턴 void

scrPsgFrom_PassageChanged() 보호된 메소드

Handle a change in the scripture passage "from" control
protected scrPsgFrom_PassageChanged ( ScrReference newReference ) : void
newReference ScrReference The new reference.
리턴 void

scrPsgTo_PassageChanged() 보호된 메소드

Handle a change in the scripture passage "to" control
protected scrPsgTo_PassageChanged ( ScrReference newReference ) : void
newReference ScrReference The new reference.
리턴 void

프로퍼티 상세

m_StyleSheet 보호되어 있는 프로퍼티

protected FwStyleSheet m_StyleSheet
리턴 FwStyleSheet

m_importSettings 보호되어 있는 프로퍼티

protected IScrImportSet m_importSettings
리턴 IScrImportSet

m_scr 보호되어 있는 프로퍼티

protected IScripture m_scr
리턴 IScripture

scrPsgFrom 보호되어 있는 프로퍼티

protected ScrBookControl,SIL.FieldWorks.Common.Controls scrPsgFrom
리턴 SIL.FieldWorks.Common.Controls.ScrBookControl

scrPsgTo 보호되어 있는 프로퍼티

protected ScrBookControl,SIL.FieldWorks.Common.Controls scrPsgTo
리턴 SIL.FieldWorks.Common.Controls.ScrBookControl