Winfrom禁止窗体拖动代码 protected override void WndProc(ref Message m) { if (m.Msg == 0xA1 && m.WParam.ToInt32() == 2) return; base.WndProc(ref m); } winform 2023-09-15 53 点赞 0 评论 80 浏览