⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xbordercontrol.cs

📁 破解的飞信源代码
💻 CS
字号:
namespace Imps.Client.Pc.Controls
{
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;

    public class XBorderControl : UserControl
    {
        private Color _boderColor;

        protected override void OnPaint(PaintEventArgs e)
        {
            e.Graphics.DrawRectangle(new Pen(this._boderColor), new Rectangle(0, 0, base.Size.Width - 1, base.Size.Height - 1));
        }

        [Description("标签的边框颜色,当BorderStyle设置为FixedSingle时有效"), Category("外观")]
        public Color BorderColor
        {
            get
            {
                return this._boderColor;
            }
            set
            {
                this._boderColor = value;
            }
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -