C# Класс SIL.FieldWorks.Common.Controls.FwPopup

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
m_host ToolStripControlHost
m_monitorMouseOver bool
m_mouseOver bool
m_owningDropDown ToolStripDropDown
m_timer Timer

Private Properties

Свойство Тип Описание
InitializeTimer void
m_owningDropDown_Closed void
m_owningDropDown_Opened void
m_owningDropDown_Opening void
m_timer_Tick void

Открытые методы

Метод Описание
CheckDesiredPopupLocation ( Point ptDesired, bool &tooWide, bool &tooTall ) : void

Determines whether or not the popup's right or bottom edge will extend beyond the bounds of the screen if shown at the specified location.

FwPopup ( ) : System

Initializes a new instance of the T:FwPopup class.

Hide ( ) : void

Hides the popup.

Show ( Control ctrl, Point location ) : void

Shows the popup at the specified location (which is relative to ctrl) with the specified owning control.

Show ( Point screenLocation ) : void

Shows the popup at the specified screen location.

m_owningDropDown_VisibleChanged ( object sender, EventArgs e ) : void

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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnClosed ( ToolStripDropDownClosedEventArgs e ) : void

Handles the Closed event of the popup.

OnMouseEntered ( EventArgs e ) : void

Fires the mouse entered event.

OnMouseLeft ( EventArgs e ) : void

Fires the MouseLeft event.

OnOpened ( EventArgs e ) : void

Handles the Opened event of the popup.

OnOpening ( EventArgs e ) : void

Handles the Opening event of the popup.

OnSizeChanged ( EventArgs e ) : void

OnTimerTick ( ) : void

Fires when the timer Tick event occurs.

Приватные методы

Метод Описание
InitializeTimer ( ) : void

m_owningDropDown_Closed ( object sender, ToolStripDropDownClosedEventArgs e ) : void

Handles the Closed event of the popup.

m_owningDropDown_Opened ( object sender, EventArgs e ) : void

Handles the Opened event of the popup.

m_owningDropDown_Opening ( object sender, CancelEventArgs e ) : void

Handles the Opening event of the m_owningDropDown control.

m_timer_Tick ( object sender, EventArgs e ) : void

Описание методов

CheckDesiredPopupLocation() публичный Метод

Determines whether or not the popup's right or bottom edge will extend beyond the bounds of the screen if shown at the specified location.
public CheckDesiredPopupLocation ( Point ptDesired, bool &tooWide, bool &tooTall ) : void
ptDesired Point
tooWide bool
tooTall bool
Результат void

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, /// false.
Результат void

FwPopup() публичный Метод

Initializes a new instance of the T:FwPopup class.
public FwPopup ( ) : System
Результат System

Hide() публичный Метод

Hides the popup.
public Hide ( ) : void
Результат void

OnClosed() защищенный Метод

Handles the Closed event of the popup.
protected OnClosed ( ToolStripDropDownClosedEventArgs e ) : void
e ToolStripDropDownClosedEventArgs
Результат void

OnMouseEntered() защищенный Метод

Fires the mouse entered event.
protected OnMouseEntered ( EventArgs e ) : void
e EventArgs
Результат void

OnMouseLeft() защищенный Метод

Fires the MouseLeft event.
protected OnMouseLeft ( EventArgs e ) : void
e EventArgs
Результат void

OnOpened() защищенный Метод

Handles the Opened event of the popup.
protected OnOpened ( EventArgs e ) : void
e EventArgs
Результат void

OnOpening() защищенный Метод

Handles the Opening event of the popup.
protected OnOpening ( EventArgs e ) : void
e EventArgs
Результат void

OnSizeChanged() защищенный Метод

protected OnSizeChanged ( EventArgs e ) : void
e EventArgs
Результат void

OnTimerTick() защищенный Метод

Fires when the timer Tick event occurs.
protected OnTimerTick ( ) : void
Результат void

Show() публичный Метод

Shows the popup at the specified location (which is relative to ctrl) with the specified owning control.
public Show ( Control ctrl, Point location ) : void
ctrl Control
location Point
Результат void

Show() публичный Метод

Shows the popup at the specified screen location.
public Show ( Point screenLocation ) : void
screenLocation Point
Результат void

m_owningDropDown_VisibleChanged() публичный Метод

Start and stop the timer when the owning drop-down's visibility changes.
public m_owningDropDown_VisibleChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void

Описание свойств

m_host защищенное свойство

host for this custom control
protected ToolStripControlHost m_host
Результат ToolStripControlHost

m_monitorMouseOver защищенное свойство

flag indicated whether the mouses movement should be monitored
protected bool m_monitorMouseOver
Результат bool

m_mouseOver защищенное свойство

flag whether the mouse is within the bounds of the popup
protected bool m_mouseOver
Результат bool

m_owningDropDown защищенное свойство

owns the host--drop down containing the host that hosts the custom control
protected ToolStripDropDown m_owningDropDown
Результат ToolStripDropDown

m_timer защищенное свойство

updates m_mouseOver when m_monitorMouseOver is true
protected Timer m_timer
Результат Timer