C# Class SIL.FieldWorks.FwCoreDlgControls.ConfigSenseLayout

Group together all the controls used for specifying the layout specific to Senses.
Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode Description
ConfigSenseLayout ( ) : System

Initializes a new instance of the ConfigSenseLayout class.

FillStylesCombo ( List styles ) : void

Initialize the list of styles in the styles combo boxes.

HideSenseNumberConfiguration ( ) : void

Hide the whole group of Sense Number Configuration controls (currently for Subsense nodes).

Initialize ( ) : void

Finish initializing those controls that need it.

ShowSenseNumberConfiguration ( ) : void

Show the whole group of Sense Number Configuration controls.

Private Methods

Méthode Description
FillNumberFontComboList ( ) : void
FillNumberStyleComboList ( ) : void

Fill the combobox list which gives the possibilities for numbering a recursive sequence. The first argument of the combo item is the displayed string. The second element is the marker inserted into the string for displaying numbers as given. The marker must be interpreted by code in XmlVc.DisplayVec(IVwEnv vwenv, int hvo, int flid, int frag) (XMLViews/XmlVc.cs).

From96dpiY ( int input ) : int

Convert a distance that is right at 96 dpi to the current screen dpi

GetStyleName ( ComboBox combo ) : string
SetStyleName ( ComboBox combo, string value ) : void
m_btnMoreStyles_Click ( object sender, EventArgs e ) : void
m_cbNumberStyle_SelectedIndexChanged ( object sender, EventArgs e ) : void
m_chkSenseParagraphStyle_CheckedChanged ( object sender, EventArgs e ) : void
m_tb_TextChanged ( object sender, EventArgs e ) : void

Certain characters are not allowed in XML, even escaped, including 0x0 through 0x1F. Prevent these characters from being entered. (actually, tabs and linebreaks are in that range and legal, but they cause other problems, so we remove them, too)

Method Details

ConfigSenseLayout() public méthode

Initializes a new instance of the ConfigSenseLayout class.
public ConfigSenseLayout ( ) : System
Résultat System

FillStylesCombo() public méthode

Initialize the list of styles in the styles combo boxes.
public FillStylesCombo ( List styles ) : void
styles List
Résultat void

HideSenseNumberConfiguration() public méthode

Hide the whole group of Sense Number Configuration controls (currently for Subsense nodes).
public HideSenseNumberConfiguration ( ) : void
Résultat void

Initialize() public méthode

Finish initializing those controls that need it.
public Initialize ( ) : void
Résultat void

ShowSenseNumberConfiguration() public méthode

Show the whole group of Sense Number Configuration controls.
public ShowSenseNumberConfiguration ( ) : void
Résultat void