In my app, I'm designing my UI using MDI. My map, in the MDI Parent, will occupy the entire app screen (Fill). The problem is that the MDI child forms get bellow the map control, as shown in the image. Is there a way to get around this issue?
WinformsMap in a MDI scenario
Your issue is more a general programming issue than an issue specific to our map control. As you can see in the screen shot, this problem exist with any other control. Let us do some research on the MDI structure and we will let you know what the solution is.
Gustavo,
Try changing the parent of the child form as following:
private void ShowNewForm(object sender, EventArgs e)
{
Form childForm = new Form();
childForm.MdiParent = this;
childForm.Text = "Window " + childFormNumber++;
childForm.Parent = winformsMap1;
childForm.Show();
}
Any more questions just feel free to let me know.
Thanks.
Yale
I let you know that today we posted a project showing how to use MDI form with WinformsMap.
code.thinkgeo.com/projects/show/mdiform