Which .Net Timer() to use

前端 未结 5 1527
一向
一向 2020-12-09 22:27

I have a legacy WinForms Mdi App in VB.Net 2.0 which I am adding functionality to. One of the additions is a warning which needs to be raised when the current time nears a s

5条回答
  •  轮回少年
    2020-12-09 23:07

    Ok, first things first...

    If you want to show the user a form and do something in the background I would use the BackgroundWorker class, it worked for me before. Also, you need invoke methods as mentioned before and as Chris said, it sounds harder than what it actually is.

    Here's a link which I think will help you out.
    http://msdn.microsoft.com/en-us/library/ms171728(VS.80).aspx

提交回复
热议问题