Multiple forms (MDI) are displayed simultaneously, and interoperate with each other it's not difficult, little brother. Here is a description of the multiple Form association processing made up of Mapcontrol in MapInfo.
First look at the effect:
The above multiple related map forms are implemented: load multiple (up to 4) maps in the same form, drag-and-drop maps, zoom operations can be interconnected, and each of the data on the map can be completely different!
Now let me say the implementation process:
To first load multiple maps in the same form, I used UserControl to do this:
public partial class ViewMap:System.Windows.Forms.UserControl
In this viewmap control, I encapsulate all the things that the map control needs (including the method of loading the data, the method of displaying the entities, and so on).
Then declare several events in this control: