主窗体多标签调用子窗体时报错Invalid parent form

异常信息:Invalid parent form. When using DockingMdi or SystemMdi document style, the DockPanel control must be the child control of the main MDI container form.

处理方式:将主窗体的IsMdiContainer属性设置为True即可。

posted @ 2020-09-22 11:06  芈璐  阅读(584)  评论(0编辑  收藏  举报