LoginFrame/DataGridViewCellPrint.cs

(开头部分) 2KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LoginFrame
{
    public class DataGridViewCellPrint
    {
        private string _FormattedValue = "";
        private int _RowIndex = -1;
        private int _ColumnIndex = -1;
        private System.Drawing.Color _ForeColor = System.Drawing.Color.Black;
        private System.Drawing.Color _BackColor = System.Drawing.Color.White;
        private int _Width = 100;
        private int _Height = 23;
        private System.Drawing.Font _Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
        /// <summary>
        /// 获取或设置单元格的字体。
        /// </summary>
        public System.Drawing.Font Font
        {
            set { if (null != value) _Font = value; }
            get { return _Font; }
        }
        /// <summary>
        /// 获取为显示进行格式化的单元格的值。
        /// </summary>
        public string FormattedValue
        {
            set { _FormattedValue = value; }
            get { return _FormattedValue; }
        }
        /// <summary>
        /// 获取或设置列的当前宽度 (以像素为单位)。默认值为 100。
        /// </summary>
        public int Width
        {
            set { _Width = value; }
            get { return _Width; }
        }
        /// <summary>
        /// 获取或设置列标题行的高度(以像素为单位)。默认值为 23。
        /// </summary>
        public int Height
        {
            set { _Height = value; }
            get { return _Height; }
        }
        /// <summary>
        /// 获取或设置行号。
        /// </summary>
        public int RowIndex
        {
            set { _RowIndex = value; }
            get { return _RowIndex; }
        }
        /// <summary>
        /// 获取或设置列号。
        /// </summary>
后面还有 24 行代码,解锁后查看完整代码

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

AI 解读

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

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