Switching Forms

  • Thread starter Thread starter Scott Toney
  • Start date Start date
S

Scott Toney

I'm new to .netcf and need to learn how to switch from form1 to form2. On my
button click, I go to do a form2.show but all that comes up is 1)
ControlCollection, 2) Mouse Buttons or 3) Mouse Position. I am thinking that
I need to do something prior to this but cannot find any documentation on
this subject.

Thanks
Scott
 
Not sure what you mean by "all that comes up is..."
but your code that handles the button click should look like this:

form2 f = new form2();
f.Show();

--
Darren Shaffer
..NET Compact Framework MVP
Principal Architect
Connected Innovation
www.connectedinnovation.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top