private void InitZoomAndAutoScroll() { zoom = new ShapeEditorZoom(16f, 16f); zoom.WorkingArea = new RectangleF(0, 0, 600, 340); zoom.VisibleArea = ClientRectangle; }
private void InitZoomAndAutoScroll() { this.zoom = new ShapeEditorZoom(16f, 16f); this.zoom.WorkingArea = new RectangleF(0.0f, 0.0f, 600f, 340f); this.zoom.VisibleArea = (RectangleF)this.ClientRectangle; }