C# Класс SIL.FieldWorks.TE.ExportXmlDialog

Summary description for ExportXmlDialog.
Наследование: System.Windows.Forms.Form, IFWDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CheckDisposed ( ) : void

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

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

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

Dispose() защищенный Метод

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. ///
Результат void

OnShown() защищенный Метод

protected OnShown ( EventArgs e ) : void
e System.EventArgs
Результат void

OnSizeChanged() защищенный Метод

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.
Результат void