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

Inheritance: System.Windows.Forms.ToolStripDropDown
ファイルを表示 Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
AddHost ( ToolStripControlHost host ) : void

Adds a host to the drop-down.

CustomDropDown ( ) : System

Protected Methods

Method 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

Method 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 method

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

CustomDropDown() public method

public CustomDropDown ( ) : System
return System

Dispose() protected method

Clean up
protected Dispose ( bool disposing ) : void
disposing bool
return void

OnVisibleChanged() protected method

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