C# Class SILUBS.PhraseTranslationHelper.TermRenderingCtrl

Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Свойство Type Description
BestRenderingsChanged Action

Private Properties

Свойство Type Description
LookUpTermInHostApplicaton void
contextMenuStrip_Opening void
m_lbRenderings_DrawItem void
m_lbRenderings_MouseDown void
m_lbRenderings_MouseUp void
m_lbRenderings_Resize void
m_lbRenderings_SelectedIndexChanged void
mnuAddRendering_Click void
mnuDeleteRendering_Click void
mnuSetAsDefault_Click void
term_BestRenderingChanged void

Méthodes publiques

Méthode Description
TermRenderingCtrl ( SILUBS.PhraseTranslationHelper.KeyTermMatch term, int endOffsetOfPrev, Action selectKeyboard, Action lookupTerm ) : System

Initializes a new instance of the T:TermRenderingCtrl class.

Private Methods

Méthode Description
LookUpTermInHostApplicaton ( object sender, EventArgs e ) : void

Handles the Click event of the mnuSetAsDefault control.

contextMenuStrip_Opening ( object sender, System e ) : void

Handles the Opening event of the contextMenuStrip control.

m_lbRenderings_DrawItem ( object sender, DrawItemEventArgs e ) : void

Handles the DrawItem event of the m_lbRenderings control.

m_lbRenderings_MouseDown ( object sender, MouseEventArgs e ) : void

Handles the MouseDown event of the renderings list. If the user clicks with the right mouse button we have to select the rendering.

m_lbRenderings_MouseUp ( object sender, MouseEventArgs e ) : void

Handles the MouseUp event of the renderings list. If the user clicks with the right mouse button we have to bring up the context menu if the mouse up event occurs over the selected rendering.

m_lbRenderings_Resize ( object sender, EventArgs e ) : void

Handles the Resize event of the m_lbRenderings control to force repainting of part of the listbox contents under certain circumstances.

m_lbRenderings_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the m_lbRenderings control.

mnuAddRendering_Click ( object sender, EventArgs e ) : void
mnuDeleteRendering_Click ( object sender, EventArgs e ) : void

Handles the Click event of the mnuDeleteRendering control.

mnuSetAsDefault_Click ( object sender, EventArgs e ) : void

Handles the Click event of the mnuSetAsDefault control.

term_BestRenderingChanged ( SILUBS.PhraseTranslationHelper.KeyTermMatch sender ) : void

Handles a change (probably from another TermRenderingCtrl) to our term's best rendering.

Method Details

TermRenderingCtrl() public méthode

Initializes a new instance of the T:TermRenderingCtrl class.
public TermRenderingCtrl ( SILUBS.PhraseTranslationHelper.KeyTermMatch term, int endOffsetOfPrev, Action selectKeyboard, Action lookupTerm ) : System
term SILUBS.PhraseTranslationHelper.KeyTermMatch
endOffsetOfPrev int
selectKeyboard Action
lookupTerm Action
Résultat System

Property Details

BestRenderingsChanged public_oe property

public Action BestRenderingsChanged
Résultat Action