Solved

Timer in Console application opening windows form

Posted on 2012-04-09
3
378 Views
Last Modified: 2012-06-21
How can I set up a timer in a console application to open up a windows form at a specified time? The windows form in question is a part of a console application.
Should I use a timer? What type of a timer would be most suitable?
0
Comment
Question by:YZlat
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
IceBird26 earned 300 total points
ID: 37827324
What's your criteria for using a console application instead of an application which only has windows forms ?

If you really want to put a timer on a console app, the link below shows you how to do it:

http://stackoverflow.com/questions/186084/how-do-you-add-a-timer-to-a-c-sharp-console-application
0
 
LVL 35

Author Comment

by:YZlat
ID: 37827456
Actually I have switched Console application to Windows but ran it from Main instead of opening a form
0
 
LVL 35

Author Closing Comment

by:YZlat
ID: 37827463
no longer need a solution
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question