I have a requirement where the user wants to be able to click a button to show a dialog with some information. They want the ability to move the dialog off of the form and put focus back on the calling form and make changes to the calling form with the dialog still open.
It is basically a map on the main form and the dialog is a map legend.
Is this possible? How would I accomplish this task? It seems like I would need to do something with a panel like how Visual Studio does this with their dockable panels.
Call the
Showmethod instead ofShowDialog.This method is a non-blocking call (unlike
ShowDialog, it will return immediately, not after the new form closes) and will not show the form modally.You’ll probably want to pass the parent form as the parameter so that it will show as a child form.