📜  C# 移动窗体无边框 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:54.361000             🧑  作者: Mango

代码示例1
protected override void WndProc(ref Message m)
{
    switch(m.Msg)
    {
        case 0x84:
            base.WndProc(ref m);
            if((int)m.Result == 0x1)
                m.Result = (IntPtr)0x2;
            return;
    }

    base.WndProc(ref m);
}