33 Topics
|
|
I've been employed to fix a friend's PC troubles and apparently his monitor automatically goes into "sleep" mode whenever the CPU is turned on. Once it passes the initial loading stage (Where the "DELL" screen shows up and the loading bar fills) it goes into sleep mode. I've tried removing … |
|
Hi, Why do I only see appearing a red rectangle after 1 sec with the following code, and not a blue one and after a sec a red. Just used a new forms app with a panel control added and the following code: [CODE=c#]using System.Drawing; using System.Threading; using System.Windows.Forms; namespace … |
|
Hello everyone! I know how to use a Timer class: [CODE=C#]static void Main(string[] args) { System.Timers.Timer MyTimer = new System.Timers.Timer(); MyTimer.Elapsed += new System.Timers.ElapsedEventHandler(MyTimer_Elapsed); MyTimer.Interval = 2000; MyTimer.Enabled = true; //etc. } static void MyTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e) { //do something every 2 seconds }[/CODE] What I like to do … |
The End.