Freeze Display

  • 13 years ago
    Currently, I need an answer to this question:
    How do I delay my C# code allowing my display to stop for a few seconds (15-20 secs). I would like to do this in both my DOS and Windows controls!
  • 13 years ago
    Can you clarify if you just want the UI to appear frozen or if you want the display as well as all Event processing/etc. to be stopped for 15-20 seconds.  And may I ask why?

    If it is the latter you can make this call:  System.Threading.Thread.Sleep(15000) 'Sleep for 15 seconds



Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“XML is like violence - if it's not working for you, you're not using enough of it.”