In .net Compact Framework 2.0, you could add a form to another forms control array basically parenting the other form.
i.e._mainForm.Controls.Add(form);
This is not allowed in .net cf 3.5 and results in an exception:
System.ArgumentException: Value does not fall within the expected range.
at Microsoft.AGL.Common.MISC.HandleAr(PAL_ERROR ar)
at System.Windows.Forms.Control._SetParent(Control ctlParent)
at System.Windows.Forms.Control.set_Parent(Control value)
Is there a workaround or alternative for this? I need to be able to parent a form inside a panel on another form.