Exemple #1
0
 /// <summary>
 /// Sets the UserControl for the Map Class
 /// </summary>
 public void SetMapControl(MapControl map)
 {
     Debug.Assert(!_isMiniMap);
     _control = map.ScrollableMap;
     _control.SetMap(this);
     map.SetMap(this);
 }
Exemple #2
0
 public void InitializeMaps(MapControl mapControl, MiniMapControl miniMapControl)
 {
     Map.SetMapControl(mapControl);
     _miniMap.SetMiniMapControls(miniMapControl, Map);
 }