1

I have a form similar to an android notification drawer type thing, users have an option to put a background image on the form; since the form opens up all the way by pulling it on to the screen with a mouse, how can I make the bitmap look like its not drawing while it is being pulled on to the screen? I am using C#.net. As the form is pulled up, the bitmap is white until it has a second to load.

Carsen Daniel Yates
  • 1,962
  • 1
  • 11
  • 16

1 Answers1

1

You can try setting your form to paint in Double-buffered mode.

class Form1 : Form {
  Form1(){
   this.doublebuffered = true;
  }
}

How to double buffer .NET controls on a form?

Community
  • 1
  • 1
Dave Bish
  • 19,263
  • 7
  • 46
  • 63