Print/Model/LineInfo.cs

(开头部分) 10KB

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

using System;
using System.Drawing;
using System.Windows.Forms;
using Microsoft.VisualBasic;

namespace Print.Model
{
    /// <summary>
    /// 打印模板直线
    /// </summary>
    /// <remarks></remarks>
    internal class LineInfo
    {
        protected int _A01_Id;
        protected int _A02_TemplateId;
        protected int _A03_x1;
        protected int _A04_y1;
        protected int _A05_x2;
        protected int _A06_y2;
        public Label Line = new Label();
        public bool Visible;
        protected PropertyNuke _Nuke;
        protected static PropertyName _PN = new PropertyName(true);
        protected static PropertyName _PM = new PropertyName(false);

        public LineInfo()
        {
            Line.LocationChanged += new EventHandler(Line_LocationChanged);
            Line.SizeChanged += new EventHandler(Line_LocationChanged);
          
            Line.Visible = false;
            Line.Text = "";
            Line.Width = 100;
            Line.Height = 1;
            Line.BackColor = Color.Black;
            Line.Left = (int)(VBMath.Rnd() * 100 + 50);
            Line.Top = (int)(VBMath.Rnd() * 100 + 50);
            Line_LocationChanged(Line, new EventArgs());
            _Nuke = new PropertyNuke(this);
        }

        /// <summary>
        /// 核心属性
        /// </summary>
        /// <returns></returns>
        /// <remarks></remarks>
        public PropertyNuke Nuke()
        {
            return _Nuke;
        }
        /// <summary>
        /// 属性名称
        /// </summary>
        /// <returns></returns>
        /// <remarks></remarks>
        public static PropertyName PN()
        {
            return _PN;
        }
        /// <summary>
后面还有 338 行代码,购买后查看完整代码

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

AI 解读

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

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