Tag: borderless

如何使用窗体边框上的控件调整无边框窗体大小?

我有一个无边框的winForm,我需要resize,我设法这样做: protected override void WndProc(ref Message m) { const int wmNcHitTest = 0x84; const int htLeft = 10; const int htRight = 11; const int htTop = 12; const int htTopLeft = 13; const int htTopRight = 14; const int htBottom = 15; const int htBottomLeft = 16; const int htBottomRight = 17; if (m.Msg […]