How to change form with animation(like fading,Cutl Up,…) in win application?
I have two form Form1,Form2.
I’m in form1 and there is a button on it and i want to change form when button clicked.
//button click
Form2 f2=new Form2();
this.hide();
f2.show();
You can use
AnimateWindow(), define a new form class and overrideOnLoad()to show the form with your desired effects.Sample code to hide a PictureBox control as requested: