From 71c12ff40d58c3dbdde6867396dd99224e57fc32 Mon Sep 17 00:00:00 2001 From: ningshuxia <ningshuxia0927@outlook.com> Date: 星期三, 30 四月 2025 16:00:01 +0800 Subject: [PATCH] 首页修改 --- WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/MapDimensions.cs | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/MapDimensions.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/MapDimensions.cs index 77a1ca4..9fbf09e 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/MapDimensions.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/MapDimensions.cs @@ -11,12 +11,12 @@ [Serializable] public class MapDimensions { - + [Category("瑙嗚")] [DisplayName("涓績")] [Browsable(true)] - public PointF Center { get; set; } + public PointF3D Center { get; set; } [Category("瑙嗚")] [DisplayName("缂╂斁")] @@ -33,18 +33,18 @@ [Category("瑙嗚")] [DisplayName("淇瑙掑害")] [Browsable(true)] - public double rotationF + public double rotationF { - get + get { if (Lock2DView) _rotationF = 90; return _rotationF; } - set - { + set + { _rotationF = value; if (Lock2DView) _rotationF = 90; - } + } } [Category("瑙嗚")] @@ -57,7 +57,7 @@ [Browsable(true)] public bool isShowPic { get; set; } = true; - + public bool isAutoBackgroundImage = false; @@ -76,7 +76,7 @@ [Category("瑙嗚")] [DisplayName("閿佸畾骞抽潰瑙嗚")] [Browsable(true)] - public bool Lock2DView { get; set; }=false; + public bool Lock2DView { get; set; } = false; /// <summary> /// 缂栬緫妯″紡true,娴忚妯″紡false锛涢粯璁ゅ�硷細true锛涙祻瑙堟ā寮忎笅,涓嶈兘缂栬緫妯″瀷 -- Gitblit v1.9.3