📄 rect.cs
字号:
namespace Imps.Client.Utils.Win32
{
using System;
using System.Runtime.InteropServices;
[Serializable, StructLayout(LayoutKind.Sequential)]
public struct RECT
{
public int Left;
public int Top;
public int Right;
public int Bottom;
private static RECT _empty;
public int Width
{
get
{
return (this.Right - this.Left);
}
}
public int Height
{
get
{
return (this.Bottom - this.Top);
}
}
public static RECT Empty
{
get
{
return _empty;
}
}
static RECT()
{
_empty = new RECT();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -