dotnet / winforms

Windows Forms is a .NET UI framework for building Windows desktop applications.
MIT License
4.38k stars 971 forks source link

The selected control should have a solid border in the DemoConsole application #11353

Closed MelonWang1 closed 4 months ago

MelonWang1 commented 5 months ago

.NET version

.Net 9.0: Main branch of Winforms repo

Did it work in .NET Framework?

Not tested/verified

Did it work in any of the earlier releases of .NET Core or .NET 5+?

No, this was changed after winform designer PR 5855.

Issue description

Actual result in DemoConsole test app: The selected control has a dashed border in the DemoConsole application. democonsole

Expected result: The selected control should have a solid border in the DemoConsole application. Untitled

Steps to reproduce

Test sample: DemoConsole in Winforms repo.

Nora-Zhou01 commented 4 months ago

Verified this issue in the latest .NET 9.0 SDK build: 9.0.100-preview.5.24265.9 on winforms repo, it was fixed. The selected control should have a solid border in the DemoConsole application. image

Nora-Zhou01 commented 4 months ago

Verified the issue on 9.0.100-preview.5.24304.3 Test Pass build, the issue has been fixed that have the same results as above.