且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在 Windows 窗体中旋转 .NET 面板

更新时间:2023-12-06 10:19:52

在 Windows 窗体中旋转面板及其子项不是直接支持的,我认为它最终会成为一个容易吸收大量时间.考虑何时可以在 WPF 中使用零行 C# 代码和只有一点点XAML.

Rotating a panel and its children in Windows Forms is not something directly supported, and I think it will end up being a buggy headache that could easily suck up lots of time. It's especially painful to think about when you could do this in WPF with zero lines of C# code and only a tiny bit of XAML.