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); }
public MapDrawEngine(MapShowEngine showEngine) { this.showEngine = showEngine; }