tags:

views:

209

answers:

1

hi, I am working on a windows forms application using C# in visual studio 2008 team system. I would want to display a different form at start up of application. Please help (In project properties , under application tab there is no display of different forms name in the combo box)

A: 

I think there's no property page for this any more, like it used to be in Visual Basic 5. Yeah, this is a huge gab, but I don't have all Versions in mind.

Anyway, Visual Studio should have created a Main method for you, usally this is in Program.cs. There you will find the following line.

Application.Run(new Form1());

Just replace Form1 with your Windows.Forms class.

Michael Stoll
thankx, its the solution.
Abhishek