C# Class SIL.FieldWorks.Common.UIAdapters.CustomDropDown

Inheritance: System.Windows.Forms.ToolStripDropDown
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Méthode Description
AddHost ( ToolStripControlHost host ) : void

Adds a host to the drop-down.

CustomDropDown ( ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up

OnVisibleChanged ( EventArgs e ) : void

Start and stop the timer when the owning drop-down's visibility changes.

Private Methods

Méthode Description
AddControl ( Control ctrl ) : void
InitializeMouseMonitorTimer ( ) : void

InitializeVisibilityTimeoutTimer ( ) : void

m_hostedControl_Resize ( object sender, EventArgs e ) : void

Adjust the size of the popup as the size of the hosted control changes. This is necessary in case the hosted control can be resized by the user at runtime.

m_tmrMouseMonitor_Tick ( object sender, EventArgs e ) : void

m_tmrVisibilityTimeout_Tick ( object sender, EventArgs e ) : void

Method Details

AddHost() public méthode

Adds a host to the drop-down.
public AddHost ( ToolStripControlHost host ) : void
host System.Windows.Forms.ToolStripControlHost
Résultat void

CustomDropDown() public méthode

public CustomDropDown ( ) : System
Résultat System

Dispose() protected méthode

Clean up
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

OnVisibleChanged() protected méthode

Start and stop the timer when the owning drop-down's visibility changes.
protected OnVisibleChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void