Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 WinForms 中,有没有办法以某种智能的方式指定 MDI 子窗口的初始起始位置?
我可以应用手动位置,或者让它居中父级,但这些选项都没有考虑到现有窗口。
我想知道是否有内置方法可以进行“智能安排”,或者我是否需要自己实现此代码。
作为旁注,有没有办法自动化平铺和级联视图?
对于平铺和级联,您想使用 Form.LayoutMdi()。
如果您想要比这更复杂的东西,那么您需要编写一些代码。