G
Guest
Hi, I've found this problem on WinCE:
I create a form and set its WindowState to Maximized. Then I use this codes
to open the form
MyForm myform = new MyForm();
myform.ShowDialog();
Well, you can see that the form is displayed when I call the constructor and
then it is displayed again when ShowDialog method is executed.
I found this problem because I have to click on the OK button two times to
close the form! If I don't execute ShowDialog I can see the form just because
I set Maximized. This happens on WinCE.
Any solutions to this problem ?
Thank you in advance.
Keven Corazza
I create a form and set its WindowState to Maximized. Then I use this codes
to open the form
MyForm myform = new MyForm();
myform.ShowDialog();
Well, you can see that the form is displayed when I call the constructor and
then it is displayed again when ShowDialog method is executed.
I found this problem because I have to click on the OK button two times to
close the form! If I don't execute ShowDialog I can see the form just because
I set Maximized. This happens on WinCE.
Any solutions to this problem ?
Thank you in advance.
Keven Corazza