From 3fa53a1e9e6e320ecdf15c7a633b0c4a1ad41c34 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期六, 01 三月 2025 18:58:43 +0800 Subject: [PATCH] 修改个人中心界面,修复报表报错 --- WinFrmUI/Yw.WinFrmUI.Map.Core/03-SetSimpleMarker/MapSetSimpleMarkerContainer.cs | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 53 insertions(+), 1 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Map.Core/03-SetSimpleMarker/MapSetSimpleMarkerContainer.cs b/WinFrmUI/Yw.WinFrmUI.Map.Core/03-SetSimpleMarker/MapSetSimpleMarkerContainer.cs index fe53da8..7502c25 100644 --- a/WinFrmUI/Yw.WinFrmUI.Map.Core/03-SetSimpleMarker/MapSetSimpleMarkerContainer.cs +++ b/WinFrmUI/Yw.WinFrmUI.Map.Core/03-SetSimpleMarker/MapSetSimpleMarkerContainer.cs @@ -1,4 +1,6 @@ -锘縰sing Yw.Model.Map; +锘縰sing System.ComponentModel; +using System.ComponentModel.DataAnnotations; +using Yw.Model.Map; namespace Yw.WinFrmUI { @@ -86,9 +88,59 @@ return await this.webViewControl1.EvaluateScriptAsync<bool>("loadMarker", marker); } + /// <summary> + /// 鏌ヨ鍦板潃 + /// </summary> + public async Task SearchAddress() + { + if (!this.IsInitialized) + { + return; + } + await this.webViewControl1.EvaluateScriptAsync("searchAddress()"); + } + #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