From a01861a95ede48fa4979a47b24f21616e362e534 Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期二, 19 十一月 2024 16:29:46 +0800 Subject: [PATCH] 用水当量模块 --- WinFrmUI/Yw.WinFrmUI.Map.Core/02-SetMarker/MapSetMarkerContainer.cs | 42 +++++++++++++++++++++++++++++++++++++++++- 1 files changed, 41 insertions(+), 1 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Map.Core/02-SetMarker/MapSetMarkerContainer.cs b/WinFrmUI/Yw.WinFrmUI.Map.Core/02-SetMarker/MapSetMarkerContainer.cs index decfc7b..b28dffd 100644 --- a/WinFrmUI/Yw.WinFrmUI.Map.Core/02-SetMarker/MapSetMarkerContainer.cs +++ b/WinFrmUI/Yw.WinFrmUI.Map.Core/02-SetMarker/MapSetMarkerContainer.cs @@ -1,4 +1,6 @@ -锘縰sing Yw.Model.Map; +锘縰sing System.ComponentModel; +using System.ComponentModel.DataAnnotations; +using Yw.Model.Map; namespace Yw.WinFrmUI { @@ -138,7 +140,45 @@ await this.webViewControl1.EvaluateScriptAsync("setInfoPanelVisibility()"); } + #region 杈规 + /// <summary> + /// 鏄剧ず杈规 + /// </summary> + [Display(Name = "鏄剧ず杈规")] + [DisplayName("鏄剧ず杈规")] + [Browsable(true)] + public bool ShowBorder + { + get { return this.webViewControl1.ShowBorder; } + set { this.webViewControl1.ShowBorder = value; } + } + + /// <summary> + /// 杈规棰滆壊 + /// </summary> + [Display(Name = "杈规棰滆壊")] + [DisplayName("杈规棰滆壊")] + [Browsable(true)] + public Color BorderColor + { + get { return this.webViewControl1.BorderColor; } + set { this.webViewControl1.BorderColor = value; } + } + + /// <summary> + /// 杈规瀹藉害 + /// </summary> + [Display(Name = "杈规瀹藉害")] + [DisplayName("杈规瀹藉害")] + [Browsable(true)] + public int BorderWidth + { + get { return this.webViewControl1.BorderWidth; } + set { this.webViewControl1.BorderWidth = value; } + } + + #endregion } -- Gitblit v1.9.3