眨眼的标签 [英] blinking label

查看:59
本文介绍了眨眼的标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何制作闪烁的标签?这可能吗?

How can i make a blinking label ? Is this possible ?

推荐答案

2月8日下午12:14,giannis < zzzinob ... @ freemail.grwrote:
On Feb 8, 12:14 pm, "giannis" <zzzinob...@freemail.grwrote:

如何制作闪烁的标签?这可能吗 ?
How can i make a blinking label ? Is this possible ?



从来没有试过这个,但是你可以有一个计时器,对于每个tick事件,

改变可见性(或颜色,或者其他) )

问题中的标签。

Never tried this, but you could have a timer, and for each tick event,
change the visibility (or colour, or whatever) of the label in
question.


< lo ********* @ gmail.comschrieb :
<lo*********@gmail.comschrieb:

>我如何制作一个闪烁的标签?这可能吗 ?
>How can i make a blinking label ? Is this possible ?



从来没有试过这个,但你可以有一个计时器,并且对于每个tick事件,

改变可见性(或颜色,或者其他) )

问题中的标签。


Never tried this, but you could have a timer, and for each tick event,
change the visibility (or colour, or whatever) of the label in
question.



这应该有效。对于Windows窗体应用程序,

''System.Windows.Forms.Timer''(在工具箱中可用)是正确的选择。


- < br $>
MS Herfried K. Wagner

MVP< URL:http://dotnet.mvps.org/>

VB< URL: http://dotnet.mvps.org/dotnet/faqs/>

This should work. For Windows Forms applications,
''System.Windows.Forms.Timer'' (available in the toolbox) is the right choice.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>


Herfried K. Wagner [MVP]写道:
Herfried K. Wagner [MVP] wrote:

这应该有效。对于Windows窗体应用程序,

''System.Windows.Forms.Timer''(在工具箱中可用)是正确的

选项。
This should work. For Windows Forms applications,
''System.Windows.Forms.Timer'' (available in the toolbox) is the right
choice.



我在Tick事件中写道:


Me.Label.Visible = Not Me.Label.Visible


但没有发生任何事情:(

I wrote at the Tick event the :

Me.Label.Visible = Not Me.Label.Visible

but nothing happened :(


这篇关于眨眼的标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆