It's not on the edge, but it will resize.

tk 1 Reputation point
2021-05-04T12:31:50.5+00:00

I am having trouble below. It always happens .Is this a bug in Windows?
(1) Prepare two monitors. Set the secondary monitor so that it is to the upper left of the primary monitor.
(2) Create two Forms.
(3) After opening the second form, open the second form with ShowDialog.
(4)When I bring the second form to the second monitor, I can resize it even though it is not at the edge of the window.

environment
Windows 10 20H2
Visual c# 2017
.net framework 4.5

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,238 questions
{count} votes