From ce9752fd657c6689ea64929eb962146e2730624e Mon Sep 17 00:00:00 2001 From: ningshuxia <ningshuxia0927@outlook.com> Date: 星期五, 28 三月 2025 14:07:54 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- 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