C# Class SIL.FieldWorks.Common.Controls.FilterAllTextsDialog

Abstract base dialog for displaying a list of texts including Scripture portions (books, sections, etc.) and allowing the user to choose which ones to include
Inheritance: System.Windows.Forms.Form
Show file Open project: sillsdev/FieldWorks

Protected Properties

Property Type Description
m_btnOK System.Windows.Forms.Button
m_helpProvider System.Windows.Forms.HelpProvider
m_treeTexts TextsTriStateTreeView
m_treeViewLabel System.Windows.Forms.Label

Protected Methods

Method Description
FilterAllTextsDialog ( ) : System

Initializes a new instance of the FilterAllTextsDialog{T} class.

OnCheckedChanged ( object sender, TreeViewEventArgs e ) : void

Called after the box is checked or unchecked

UpdateButtonState ( ) : void

controls the logic for enabling/disabling buttons on this dialog.

m_btnHelp_Click ( object sender, System e ) : void

Open the help window when the help button is pressed.

Private Methods

Method Description
InitializeComponent ( ) : void

Method Details

FilterAllTextsDialog() protected method

Initializes a new instance of the FilterAllTextsDialog{T} class.
protected FilterAllTextsDialog ( ) : System
return System

OnCheckedChanged() protected method

Called after the box is checked or unchecked
protected OnCheckedChanged ( object sender, TreeViewEventArgs e ) : void
sender object
e System.Windows.Forms.TreeViewEventArgs
return void

UpdateButtonState() protected method

controls the logic for enabling/disabling buttons on this dialog.
protected UpdateButtonState ( ) : void
return void

m_btnHelp_Click() protected abstract method

Open the help window when the help button is pressed.
protected abstract m_btnHelp_Click ( object sender, System e ) : void
sender object
e System
return void

Property Details

m_btnOK protected property

protected because of testing
protected Button,System.Windows.Forms m_btnOK
return System.Windows.Forms.Button

m_helpProvider protected property

Help Provider
protected HelpProvider,System.Windows.Forms m_helpProvider
return System.Windows.Forms.HelpProvider

m_treeTexts protected property

The text tree with scripture, genres and unassigned texts
protected TextsTriStateTreeView m_treeTexts
return TextsTriStateTreeView

m_treeViewLabel protected property

Label for the tree view.
protected Label,System.Windows.Forms m_treeViewLabel
return System.Windows.Forms.Label