Sunday 15 January 2012

c# - When hiding one fullscreen form and showing another fulscreen one there is unwanted flickering -



c# - When hiding one fullscreen form and showing another fulscreen one there is unwanted flickering -

i utilize simple lines...:

char_creation_1 game = new char_creation_1(); game.show(); this.hide();

...to alter forms in our project group's text game. however, while when changing forms, shows desktop or whatever other window below forms @ time (thus flickering). both forms meant maximized , working without task bar shown , other windows visible, game ones. how remove flickering?

yes, when closes shows homescreen opens forms flicker happen. improve can utilize mdi forms avoid flicker , professional look

set form's

formborderstyle = none

and

pass form parameter

createmdichild(new game());

also set main form

ismdicontainer = true

public void createmdichild(form child) { if (this.activemdichild != null) { this.activemdichild.close(); } child.mdiparent = this; child.dock = dockstyle.fill; child.show(); }

c# forms visual-studio-2013 flicker

No comments:

Post a Comment