📜  c# formformborderstyle none move - C#代码示例

📅  最后修改于: 2022-03-11 14:49:22.191000             🧑  作者: 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);
}