Closed MandiMan closed 9 months ago
Related: #10579
This issue is caused by PR #10641
Verified this issue on .NET 9.0.0-preview.2.24107.18 with dlls built from winforms repo of main branch, the issue has been fixed that the icon displayed in the correct position.
https://github.com/dotnet/winforms/assets/86937911/a10d825c-13e4-48ea-9fd6-3c07b1bf0618
Verified this issue with .NET 9 Preview 2 test pass build, it was fixed. Test result is same as above.
.NET version
9.0.100-preview.2.24103.2
Did it work in .NET Framework?
Yes
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Yes, cannot repro in 9.0.0-alpha.1.24053.2, but repro in 9.0.100-alpha.1.24066.22
Issue description
When using "Choose Icon... " command line to add an icon, the icon is displayed in an incorrect position Actual Results The icon is displayed in the upper left corner of the properties window
Expected Results The icon should be displayed in the correct position
Steps to reproduce
https://github.com/dotnet/winforms/assets/108860782/81904b97-982c-4aef-879f-786cbd2dc279