public MainForm() { // // Required for Windows Form Designer support // InitializeComponent(); // // Initialize tabbed MDI manager // tabbedMDIManager = new Syncfusion.Windows.Forms.Tools.TabbedMDIManager(); tabbedMDIManager.AttachToMdiContainer(this); }
private void biTabbedMDI_Click(object sender, System.EventArgs e) { // Toggle tabbed MDI mode Syncfusion.Windows.Forms.Tools.XPMenus.BarItem barItem = sender as Syncfusion.Windows.Forms.Tools.XPMenus.BarItem; if (barItem != null) { if (barItem.Checked) { tabbedMDIManager.DetachFromMdiContainer(this, true); barItem.Checked = false; } else { tabbedMDIManager.AttachToMdiContainer(this); barItem.Checked = true; } } }