C# Class SIL.FieldWorks.TE.ImportXmlDialog

Exibir arquivo Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
CheckDisposed ( ) : void

Verify that this object has not yet been disposed.

ImportXmlDialog ( FdoCache cache, IHelpTopicProvider helpTopicProvider ) : System

Constructor.

Private Methods

Method Description
DisplayImportError ( SUE_ErrorCode errorCode, string sParam1, string sParam2, string msgDetails ) : void
EnableImportButton ( ) : void
EnsureProperOxesFile ( ) : bool

Check the version number of the OXES file, and if it's out of date, migrate (a temporary copy) to the current version via XSLT scripts.

ReadRevisionDesc ( string filename ) : string

Gets the revision date and description from the specified oxes file.

VerifyLanguageInOxesFile ( ) : bool
m_btnBrowse_Click ( object sender, EventArgs e ) : void

Handles the Click event of the m_btnBrowse control.

m_btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the m_btnCancel control.

m_btnHelp_Click ( object sender, EventArgs e ) : void

Handles the Click event of the m_btnHelp control.

m_btnImport_Click ( object sender, EventArgs e ) : void

Handles the Click event of the m_btnImport control.

m_tbFilename_TextChanged ( object sender, EventArgs e ) : void

Enable the OK button when there is text in the file name text box. File validation happens in the OK button's click event.

Method Details

CheckDisposed() public method

Verify that this object has not yet been disposed.
public CheckDisposed ( ) : void
return void

ImportXmlDialog() public method

Constructor.
public ImportXmlDialog ( FdoCache cache, IHelpTopicProvider helpTopicProvider ) : System
cache FdoCache
helpTopicProvider IHelpTopicProvider
return System