Form loading problem in WinCE

J

Jason Jacob

To all,

I'm using WinCE.Net OS and Visual Studio 2003 with compact framework
service patch installed.

I'm now writing a window app under WinCE (2 forms). The main program
will first load the 1st form and show it by using "Application.Run
(frm01);"

Then the 2nd form will be loaded and show when A button on the 1st
form is pressed, somehow the 2nd Form will be loaded and shown but it
is always in a minimized mode, so I must activate the 2nd Form in
order to see (ie. select the form's window on the taskbar at the
bottom)

So what should I do to make the 2nd Form show as normal?? (at least
not minimized)

From Jason (Kusanagihk)
 
P

Paul Palmero

It depends on the order that you call the show-hide methods

Use in button A in form1:

Form2 f2 = new Form;
f2.Show();
f2.BringToFront();
this.Hide();
 

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

Top