问题:
使用dockpanel多标签的时候出现下面的异常:
Invalid parent form. When using DockingMdi or SystemMdi document style, the DockPanel control must be the child control of the main MDI container form.
解决方法:
在添加dockpanel控件窗体中,把设置主窗体 IsMdiContainer=true。
使用dockpanel多标签的时候出现下面的异常:
Invalid parent form. When using DockingMdi or SystemMdi document style, the DockPanel control must be the child control of the main MDI container form.
解决方法:
在添加dockpanel控件窗体中,把设置主窗体 IsMdiContainer=true。
转载于:https://www.cnblogs.com/Jerome_wu/archive/2009/12/22/1630024.html