Elight.WinForm/Page/Sys/Item/ItemManagerForm.cs

(开头部分) 6KB

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

using Elight.Entity.Sys;
using Elight.Utility.Core;
using Elight.Utility.Network;
using Elight.Utility.ResponseModels; 
using Elight.WinForm.Common; 
using Elight.Utility.Other;
using Sunny.UI;
using System;
using System.Collections.Generic; 
using System.Drawing; 
using System.Windows.Forms;

namespace Elight.WinForm.Page.Sys.Item
{
    public partial class ItemManagerForm : UIForm
    {
        public ItemManagerForm()
        {
            InitializeComponent();
            dataGridView.AutoGenerateColumns = false;
        }

        public new ItemPage Parent;

        #region 标题栏

        /// <summary>
        ///  标题
        /// </summary>
        public string Title
        {
            get
            {
                return lblTitle.Text;
            }
            set
            {
                lblTitle.Text = value;
            }
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            Parent.Init();
            FormHelper.subForm = null;
            this.Close();
        }
        private Point mPoint;
        private void titlePanel_MouseDown(object sender, MouseEventArgs e)
        {
            mPoint = new Point(e.X, e.Y);
        }

        private void titlePanel_MouseMove(object sender, MouseEventArgs e)
        {
            if (e.Button == MouseButtons.Left)
            {
                this.Location = new Point(this.Location.X + e.X - mPoint.X, this.Location.Y + e.Y - mPoint.Y);
            }
        }
后面还有 148 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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