C# 클래스 BF2Statistics.Utilities.Tipsy

Tipsy is a simple class that can Add and Remove tooltips to form controls programatically during runtime.
파일 보기 프로젝트 열기: BF2Statistics/ControlCenter 1 사용 예제들

공개 메소드들

메소드 설명
GetControlToolTip ( Control control ) : ToolTip

Returns the controls tooptip object. If the control does not have a tooltip, a new instance of a tooltip is returned instead

GetControlToolTip ( string controlName ) : ToolTip

Returns the controls tooptip object. If the control does not have a tooltip, a new instance of a tooltip is returned instead

RemoveToolTip ( Control control ) : void

Removes any and all tooltips for a control

SetToolTip ( Control control, string text, bool ShowAlways = false, int timeToDisplay = 5000 ) : void

Sets a tooltip object for a control

메소드 상세

GetControlToolTip() 공개 정적인 메소드

Returns the controls tooptip object. If the control does not have a tooltip, a new instance of a tooltip is returned instead
public static GetControlToolTip ( Control control ) : ToolTip
control System.Windows.Forms.Control
리턴 System.Windows.Forms.ToolTip

GetControlToolTip() 공개 정적인 메소드

Returns the controls tooptip object. If the control does not have a tooltip, a new instance of a tooltip is returned instead
public static GetControlToolTip ( string controlName ) : ToolTip
controlName string
리턴 System.Windows.Forms.ToolTip

RemoveToolTip() 공개 정적인 메소드

Removes any and all tooltips for a control
public static RemoveToolTip ( Control control ) : void
control System.Windows.Forms.Control
리턴 void

SetToolTip() 공개 정적인 메소드

Sets a tooltip object for a control
public static SetToolTip ( Control control, string text, bool ShowAlways = false, int timeToDisplay = 5000 ) : void
control System.Windows.Forms.Control
text string
ShowAlways bool
timeToDisplay int
리턴 void