开发者

C# WinForms: Activating a thread when the program activates [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. 开发者_JAVA技巧

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 9 years ago.

Improve this question

All I want to do is to make a thread that activates when the program starts. Is it possible? I tried to to use an event, but I failed at finding the right one (if there is one in the form's properties).

If there is no such event, is there an alternate way to do it?


Have you tried using the Shown or Load events?


If you want the thread to activate when the program starts, just put your thread startup code in your Main method (usually in Program.cs).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜