duheng
2024-05-24 d33c82d8fff92a17263923c711448c0253b1a81c
WinfrmUI/Hydro.WinfrmUI.Browser/Viewer.Model.cs
@@ -1,5 +1,4 @@
//using CloudWaterNetwork.Magnifier;
//using dict_py_Inner;

using Hydro.Core.Model;
using Hydro.MapView;
using Hydro.MapView.Base;
@@ -27,8 +26,7 @@
using static System.Windows.Forms.LinkLabel;
using static System.Windows.Forms.VisualStyles.VisualStyleElement.Button;
using static System.Windows.Forms.VisualStyles.VisualStyleElement.TrackBar;
using Cursor = System.Windows.Forms.Cursor;
namespace Hydro.WinfrmUI
{
 
@@ -119,7 +117,7 @@
        bool _isInsertingObject = false;
        bool _isMovingObject = false;
        bool _isPastingObject = false;
        Cursor _lastCursor;
        System.Windows.Forms.Cursor _lastCursor;
        object _undoOldValue = null;
        private List<PointF> polygonPoints = new List<PointF>();
@@ -392,7 +390,7 @@
        #endregion
        #region 正交模式
        public Action<bool> OnChangeViewOrtho = null;
        private bool _isOrtho
        public bool IsOrtho
        {
            get
            {