Harness/frmMain.cs

(开头部分) 14KB

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

namespace RCM_Harness
{
    #region Directives
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.Runtime.InteropServices;
    #endregion

    public partial class frmMain : Form
    {
        #region Constants
        // setwindowpos
        static readonly IntPtr HWND_TOPMOST = new IntPtr(-1);
        static readonly IntPtr HWND_NOTOPMOST = new IntPtr(-2);
        static readonly IntPtr HWND_TOP = new IntPtr(0);
        static readonly IntPtr HWND_BOTTOM = new IntPtr(1);
        // size/move
        private const uint SWP_NOSIZE = 0x0001;
        private const uint SWP_NOMOVE = 0x0002;
        private const uint SWP_NOZORDER = 0x0004;
        private const uint SWP_NOREDRAW = 0x0008;
        private const uint SWP_NOACTIVATE = 0x0010;
        private const uint SWP_FRAMECHANGED = 0x0020;
        private const uint SWP_SHOWWINDOW = 0x0040;
        private const uint SWP_HIDEWINDOW = 0x0080;
        private const uint SWP_NOCOPYBITS = 0x0100;
        private const uint SWP_NOOWNERZORDER = 0x0200;
        private const uint SWP_NOSENDCHANGING = 0x0400;
        // header
        private const int HDS_FILTERBAR = 0x0100;
        private const int HDM_FIRST = 0x1200;
        private const int HDM_GETITEMA = (HDM_FIRST + 3);
        private const int HDM_GETITEMW = (HDM_FIRST + 11);
        private const int HDM_SETITEMA = (HDM_FIRST + 4);
        private const int HDM_SETITEMW = (HDM_FIRST + 12);
        private const int HDF_SPLITBUTTON = 0x1000000;
        private const int HDF_STRING = 0x4000;
        private const int HDI_FORMAT = 0x0004;
        private const int HDI_TEXT = 0x0002;
        private const int HDF_SORTUP = 0x0400;
        private const int HDF_SORTDOWN = 0x0200;
        private const int GWL_STYLE = (-16);
        private const int GWL_EXSTYLE = (-20);
        // listview messages
        private const int LVM_FIRST = 0x1000;
        private const int LVM_GETHEADER = (LVM_FIRST + 31);
        private const int LVM_INSERTCOLUMN = (LVM_FIRST + 97);
        private const int LVCF_FMT = 0x1;
        private const int LVCF_WIDTH = 0x2;
        private const int LVCF_TEXT = 0x4;
        private const int LVCF_SUBITEM = 0x0008;
        private const int LVCF_ORDER = 0x20;
        #endregion

后面还有 228 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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