Elight.Utility/PopupTool/GripBounds.cs

(开头部分) 2KB

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

#if NETFRAMEWORK || WINDOWS
using System;
using System.Drawing;

internal struct GripBounds
{
    public GripBounds(Rectangle clientRectangle)
    {
        this.clientRectangle = clientRectangle;
    }
    public Rectangle ClientRectangle
    {
        get
        {
            return this.clientRectangle;
        }
    }

    public Rectangle Bottom
    {
        get
        {
            Rectangle result = this.ClientRectangle;
            result.Y = result.Bottom - 6 + 1;
            result.Height = 6;
            return result;
        }
    }

    public Rectangle BottomRight
    {
        get
        {
            Rectangle result = this.ClientRectangle;
            result.Y = result.Bottom - 12 + 1;
            result.Height = 12;
            result.X = result.Width - 12 + 1;
            result.Width = 12;
            return result;
        }
    }

    public Rectangle Top
    {
        get
        {
            Rectangle result = this.ClientRectangle;
            result.Height = 6;
            return result;
        }
    }

    public Rectangle TopRight
    {
        get
        {
            Rectangle result = this.ClientRectangle;
            result.Height = 12;
            result.X = result.Width - 12 + 1;
            result.Width = 12;
后面还有 54 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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