C# 클래스 SIL.FieldWorks.Common.Controls.FwPopup

파일 보기 프로젝트 열기: sillsdev/FieldWorks

보호된 프로퍼티들

프로퍼티 타입 설명
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