C# Class SIL.FieldWorks.TE.ExportXmlDialog

Summary description for ExportXmlDialog.
Inheritance: System.Windows.Forms.Form, IFWDisposable
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Méthode Description
CheckDisposed ( ) : void

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnShown ( EventArgs e ) : void

OnSizeChanged ( EventArgs e ) : void

Ensure that the end of the filename is visible whenever the size changes, and that the beginning is visible if the whole filename fits.

Private Methods

Méthode Description
ExportXmlDialog ( SIL.FieldWorks.FDO.FdoCache cache, SIL.FieldWorks.FDO.DomainServices.FilteredScrBooks filter, int defaultBookNum, IVwStylesheet stylesheet, System.IO.FileType exportType, IHelpTopicProvider helpTopicProvider ) : System
FillFilterListLabel ( SIL.FieldWorks.FDO.DomainServices.FilteredScrBooks filter ) : void

Build a string containing a comma delimited list of book names, and display it as the list of books in the filter.

InitializeComponent ( ) : void

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

LoadSectionsForBook ( int nBook ) : void

Load a list of sections into the beginning and ending combo boxes for export. TEMPORARY: If it is the first (i.e., starting) section to export, only include sections that begin with a chapter. See TE-7287 for story to revert this.

UpdateBookSectionGroupLabel ( ) : void

Updates the book section group label.

ValidStartingSection ( IScrSection sect, IScrSection prevSect ) : bool

Check to see if section can be used as the starting section of the export. Must either be an intro section or a section that begins with a chapter number run.

cboFrom_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the m_cboFromSection control.

cboTo_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the m_cboToSection control.

m_btnBrowse_Click ( object sender, System e ) : void

Handle the browse button to locate a file to write to.

m_btnHelp_Click ( object sender, System e ) : void

Handle a click on the Help button

m_btnOk_Click ( object sender, System e ) : void

Handle a click on the Ok button

m_scrBook_PassageChanged ( ScrReference newReference ) : void

Handles the event when the passage to export has changed.

Method Details

CheckDisposed() public méthode

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

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged /// resources; false to release only unmanaged resources. ///
Résultat void

OnShown() protected méthode

protected OnShown ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnSizeChanged() protected méthode

Ensure that the end of the filename is visible whenever the size changes, and that the beginning is visible if the whole filename fits.
protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs An that contains the event /// data.
Résultat void