Esempio n. 1
0
 public MapControl()
 {
     InitializeComponent();
     this.ResizeRedraw = true;
     this.SetStyle(ControlStyles.DoubleBuffer |
                   ControlStyles.UserPaint |
                   ControlStyles.AllPaintingInWmPaint,
                   true);
     this.UpdateStyles();
     _mapShowEngine              = new MapShowEngine();
     _mapShowEngine.ShowUpdated += _mapShowEngine_ShowUpdated;
     _mapDrawEngine              = new MapDrawEngine(_mapShowEngine);
 }
Esempio n. 2
0
 public MapDrawEngine(MapShowEngine showEngine)
 {
     this.showEngine = showEngine;
 }