MDI程序-TabbedMdi模式与窗体层叠互换功能(C/S框架网)
MDI程序-TabbedMdi模式与窗体层叠互换功能(C/S框架网)
C/S开发框架使用DevExpress的xtraTabbedMdiManager 组件管理MDI子窗体,xtraTabbedMdiManager 组件只能显示当前激活状态的子窗体, 如下图所示:

若用户要一次性查看多个子窗体的内容(如下图)xtraTabbedMdiManager 组件是不能实现的,琢磨了一阵子没有结果,xtraTabbedMdiManager 组件不提供层叠显示功能。如果要求标准Windows层叠显示怎么办?
其实很简单一行代码搞定:
private void btnCSS_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
//取消TabbedMdi模式
this.xtraTabbedMdiManager1.MdiParent = null;
}
