现在情况是:如果我在form中直接引用dockpanel是没有问题的,可是我将form分割成好几块,比如上、中、下三部分,如果我只在中间部分引用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.上网搜了下,都说将form中IsMdiContainer=true,可是我都这样做了!难道form页面不能用panel分割,然后再其中的一个panel中引用dockpanel?
我现在想在流程地图tabcontrol下添加dockpanel,就报错!