selecteddata.cs

来自「破解的飞信源代码」· CS 代码 · 共 64 行

CS
64
字号
namespace Imps.Client.Pc.BizControls
{
    using System;
    using System.Drawing;

    public class SelectedData
    {
        private Color _color;
        private Font _font;
        private string _text;

        public SelectedData()
        {
            this._text = null;
            this._font = null;
            this._color = Color.FromArgb(0, 0, 0);
        }

        public SelectedData(string sText, Font font, Color color)
        {
            this._text = sText;
            this._font = font;
            this._color = color;
        }

        public string Text
        {
            get
            {
                return this._text;
            }
            set
            {
                this._text = value;
            }
        }

        public Color TextColor
        {
            get
            {
                return this._color;
            }
            set
            {
                this._color = value;
            }
        }

        public Font TextFont
        {
            get
            {
                return this._font;
            }
            set
            {
                this._font = value;
            }
        }
    }
}

⌨️ 快捷键说明

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