I have a question about the startup code in C#.Net 2008. I have not looked at C#.net code in several years and now I have a c#.sln project that I need to work with.
I am trying to find where the code actually starts. I found the startup project folder.
These project contains lots of C# modules. Can you tell me how I can tell where the code actually starts in the startup project? Would I look for a main.cs file?
Should I just step through the code to see where the application actually starts? If so, what should I do to make certain this code will not actually run the production application?
Loading
ajay rajuPosted May 27, 2010, 2:05 AM
goto progrm.cs file which is available in solution explorer, open this program.cs file, in that file
Application.Run(new form1());
in place of form1() you write which page you want to startup page. like form2() or form3()
if it helps then check mark as accept answer
Thanks.
PJ MartinsPosted May 26, 2010, 5:28 PM