Example #1
0
 /// <summary>
 /// Sets the UserControl for the Map Class and start it as a minimap
 /// </summary>
 public void SetMiniMapControls(MiniMapControl miniMap, Map mainMap)
 {
     Debug.Assert(_isMiniMap);
     _control = miniMap;
     _control.SetMap(this);
     miniMap.SetMap(this, mainMap);
 }
Example #2
0
 public void InitializeMaps(MapControl mapControl, MiniMapControl miniMapControl)
 {
     Map.SetMapControl(mapControl);
     _miniMap.SetMiniMapControls(miniMapControl, Map);
 }