BMap.NET.WindowsForm/BPlaceBox.cs

(开头部分) 11KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using BMap.NET.HTTPService;
using Newtonsoft.Json.Linq;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;

namespace BMap.NET.WindowsForm
{
    /// <summary>
    /// 位置搜索输入框(带自动提示)
    /// </summary>
    public partial class BPlaceBox : UserControl
    {
        private string _city = "";

        /// <summary>
        /// 目标搜索城市
        /// </summary>
        [Browsable(false)]
        internal string City
        {
            get
            {
                return _city;
            }
        }

        private string _district = "";

        /// <summary>
        /// 目标搜索区县
        /// </summary>
        [Browsable(false)]
        internal string District
        {
            get
            {
                return _district;
            }
        }

        private Font _intputFont;

        /// <summary>
        /// 输入字体
        /// </summary>
        [Description("位置搜索时输入的字体"), Category("BMap.NET")]
        public Font InputFont
        {
            get
            {
                return txtInput.Font;
            }
            set
            {
                _intputFont = value;
                txtInput.Font = _intputFont;
            }
        }
后面还有 282 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。