I believe Form1 is your start-up form. When Application.Run(new Form1()) is executed, it sets the Form1's visibility to true. This happens after your call to this.Hide() in Form1's constructor. This is the reason why first form is still visible. Are you looking to implement a splash-screen? If yes, this is not the correct method. Try the following points
Show the Form1 before the call to Application.Run
Keep a timer on Form1 with interval as 3secs and when timer ticks, unload the form.
Instantiate Form2 and start message loop on that. Application.Run(new Form2()).
Navaneeth How to use google | Ask smart questions
modified on Thursday, September 24, 2009 4:47 AM