主屏幕和主屏幕中显示的表单的最佳实践 [英] Best practice for a main screen and forms showing up within the main screen
问题描述
我一直使用isMidiContainer设置父表单并在此表单中打开我的表单,但这是最好的方法吗?
I have always used isMidiContainer to set the parent form and open my forms within this form, but is this the best method?
我想我正在寻找这种方法的主要缺点,如果有的话,我应该采用更好的程序(以及如何)。
I guess I am looking for are there major drawbacks to this method and should I adopt a better procedure (and how) if there is one.
感谢您就此话题分享的任何意见。
I appreciate any input you can share on this topic.
推荐答案
您好,
一般来说,桌面应用程序已经远离MDI风格,即使大多数Microsoft Office产品也已经这样做了。
In general desktop applications have moved away from MDI style, even the majority of Microsoft Office products have done this.
另一种方法是使用带有Tab控件的单个表单管理您的任务以及模态和非模态窗口。我不能告诉你什么是最适合你的应用程序,因为我不知道业务需求。
An alternate method would be to use a single form with a Tab control to manage your task along with modal and non-modal windows. I can't tell you what is best for your application as I don't know the business requirements.
最后我只是提出建议而不是试图迫使你走上一条路您可能不想去。
In closing I'm simply making suggestions and not trying to force you down a path that you may not want to go.
这篇关于主屏幕和主屏幕中显示的表单的最佳实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!