Click here to Skip to main content
15,903,362 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
first window form run but add new windows form no run only run first windows form why?
Posted
Updated 18-Jun-11 3:18am
v2
Comments
Srinivas Kumar Pasumarthi 18-Jun-11 9:04am    
ask question clearly
Uday P.Singh 18-Jun-11 9:06am    
what do you want to do?

To Run or create form dynamicaly

1. Create object of form

2. Call 'Application.Run(form_obj);'
 
Share this answer
 
You can change it....

Go to program.cs.

and change like as follows:

Application.Run(new Form2());
 
Share this answer
 
v2
Please do not re-post!

Here is the solution in response to your other question:
how to start up form in c#[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900