Equivalent to Java's "Thread.Sleep()" and quest. about double buffering

  • Thread starter Thread starter Rene Ruppert
  • Start date Start date
R

Rene Ruppert

Hi,

I'm porting one of my Java applets to the .Net CF and don't find the answers
to these two questions:

- Is there an equivalent to Java's "Thread.Sleep()" function to stop the
execution of my program for some seconds?
- How can I realize double buffering? In Java I do all the drawing on an
offscreen BufferedImage and then I blit the whole image to the screen. But
how do I get a graphics context on a Bitmap in .Net CF?

Thanks.

René
 
Okay...right after having asked I found the answer...it's also
Thread.Sleep() but I was to dumb to include System.Threading.

Now only the buffering problem remains.
 
Back
Top