Reputation: 2032
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.
Upvotes: 1
Views: 190
Reputation: 19646
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?
Upvotes: 1