To add a splash screen form to your Application .follow the below code ---->>
-->> Take a new window form form2.cs
-->> Go to the code page of your Application First form
-->> Make an object Of the Splash form i.e form2.cs
private form2 frm2;
-->> Above Intializecomponent() method
-->> frm2 = new form2();
frm2.owner = this;// owner of form2 is current form
Application.doevents();
this.visible=false;
frm2.show();
-->> Below form1 load()
thread.sleep(5000); //Add namespace System.threading
this.visible= true;
this.enabled = true;
frm2.close();
Thursday, January 28, 2010
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment