English 中文(简体)
如何防止全球倡议的封锁?
原标题:How to prevent GUI blocking?

I have a timer that ticks every 3 seconds. If the timer found something a messagebox will show. Then the timer should wait 30 seconds, before he show again the messagebox (the user of course must have time to react).

我如何处理这一问题?

我曾尝试过一个Thread.Sleep(30000),但“全球倡议”的阵营当然有。

我的其他想法是第二位时间,将在第一种标准之后启动,并在标准方法上重新启动第一种时间。

因此:t1-> msg 方框-> 点击后-> t2(30 个直径)-> t2 准值

但我认为,这不是一个好的想法,是否有更好的办法?

最佳回答

取决于语言。

不管怎样,你们都必须建立第二层楼,进行等候和检查。

如果有的话。 NET 您不妨研究“地下工人”

问题回答




相关问题
How to start to create an application GUI using C#?

HI! I am new to C# and plan to use it for my application GUI. I am trying to make my GUI similar to SPSS:http://www.spss.com/images/08/statistics_screens/ez_rfm-big.jpg Is this easy in C#? Is there ...

Automatic height of edit box

My shoes application has three items stacked on top of each other (with a stack, of course), in order: A banner An edit box Two buttons in a flow What I want to do is have the banner stay at it s ...

Search by using the keyboard in a list/grid - algorithm

I need to implement a custom search in a grid and I would like to find some user interface guidelines that explain the standard way to implement it. I mean this kind of search that is initiated by ...

UI And TcpClient Issue in vb.net

I m having some problems with a small ircbot i m writing. Basically I connect to the server using a tcpclient in a seperate class, which also runs on its own thread. I want to display the server text ...

UI Convention: Shortcut key for application exit? [closed]

Is there a convention for the shortcut keys for application exit? Some applications uses Alt+X some others use Ctrl+ X and Ctrl+Q. Applications like FF and IE doesnot assign a shortcut at all. So is ...

热门标签