/// <summary>
        /// Execute the custom zoom in
        /// </summary>
        private void DoCustomZoom()
        {
            this.Cursor = Cursors.Wait;

            double widthRatio  = this.ActualWidth / zoomRect.Width;
            double heightRatio = this.ActualHeight / zoomRect.Height;

            double zoomX = widthRatio * Transformation.ZoomX;
            double zoomY = heightRatio * Transformation.ZoomY;

            Point actualOrgPoint = Transformation.CalculateActualLocation(zoomRect.Location);

            double orgX = -actualOrgPoint.X;
            double orgY = -actualOrgPoint.Y;

            Transformation.SetViewScale(zoomX, zoomY, orgX, orgY);

            this.Cursor = Cursors.Arrow;
        }
 /// <summary>
 /// Set the view to the default scale
 /// </summary>
 public void SetDefaultView()
 {
     this.Cursor = Cursors.Wait;
     Transformation.SetViewScale(0.05, 0.05, -2660000, -1260000);
     this.Cursor = Cursors.Arrow;
 }