ToolTip.StopTimer 方法

定義

停止隱藏顯示工具提示的計時器。Stops the timer that hides displayed ToolTips.

protected:
 void StopTimer();
protected void StopTimer ();
member this.StopTimer : unit -> unit
Protected Sub StopTimer ()

備註

ToolTip類別具有內部計時器,用來設定工具提示的顯示持續時間。The ToolTip class has an internal timer that it uses to set the display duration for ToolTips. 透過屬性設定計時器的持續時間 AutoPopDelaySet the duration of the timer through the AutoPopDelay property. StopTimer方法會停止此內部計時器,並在 Hide 呼叫方法或將父表單最小化、隱藏或關閉之前,強制顯示任何顯示的工具提示。The StopTimer method stops this internal timer, causing any displayed ToolTip to be shown modally until the Hide method is called or the parent form is minimized, hidden, or closed.

適用於

另請參閱