In Compact Framework Can I use Parent form
-
In compact framework in PDA can I declare a form as parent of another forms.
-
In compact framework in PDA can I declare a form as parent of another forms.
Yes
Windows mobile development, pocket pc development , C#.net compact framework, Desktop application , web service
-
Yes
Windows mobile development, pocket pc development , C#.net compact framework, Desktop application , web service
My project is running into VS2008 to press F5.But when I click on Bin\Release\PDA.exe then I got the error message "Top-Level control cannot be added" on the line where I declare the main form as a parent form.I have a main form and four child form.I take a module where I write the general declaration like that: childfom.parent=frmmdimain frmmdimain is main form.
-
In compact framework in PDA can I declare a form as parent of another forms.
The concept of MDI forms does not exist in the CF, so you cannot. You can declare a main form, and open it. Then do a showdialog() on the other forms, or a show() to show them. ~Dave
Dave Traister Software Engineer ComponentOne LLC www.ComponentOne.com