Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dubugging

Status
Not open for further replies.

pwomack

Technical User
Apr 16, 2005
121
US
New to vs2005 and c#.

Developed and debugged my first form (form1). All worked fine.

Closed form1.

Created a new form (form2) and now want to debug it (f5 or Debug...Start Debugging menu).

Form2 is open in the IDE and form1 is closed in the IDE. When I debug I get form1 (the closed form) and not form2.

Can someone please explain to me how to setup the IDE so that I can debug form2?

Thanks.

 
Are they separate projects, or just separate forms?
 
Thanks d,

As far as I know they are just separate forms.
 
Then you have to either call the second form instead of the first form from the Main in the form1 code, or create a button on the first form that will open the second form (I would recommend the latter)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top