That actually comes from:
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=68347Sample is attached.
1) run it
2) press "No Begin/EndInit()" button
3) play with the docked windows like drag&drop, tabs selection etc
--- works fine
1) run it
2) press "Begin/EndInit()" button
3) play with the docked windows like drag&drop, tabs selection etc
--- exception
The code in the first use case is:
this.dockMgr.DockControl(this.red, this, Syncfusion.Windows.Forms.Tools.DockingStyle.Bottom, 200);
this.dockMgr.DockControl(this.blue, this.red, Syncfusion.Windows.Forms.Tools.DockingStyle.Right, 200); this.dockMgr.DockControl(this.black, this, Syncfusion.Windows.Forms.Tools.DockingStyle.Left, 150);
this.dockMgr.DockControl(this.green, this.black, Syncfusion.Windows.Forms.Tools.DockingStyle.Tabbed, 150);
The code in the second use case is:
this.dockMgr.BeginInit();
this.dockMgr.DockControl(this.red, this, Syncfusion.Windows.Forms.Tools.DockingStyle.Bottom, 200); this.dockMgr.DockControl(this.blue, this.red, Syncfusion.Windows.Forms.Tools.DockingStyle.Right, 200); this.dockMgr.DockControl(this.black, this, Syncfusion.Windows.Forms.Tools.DockingStyle.Left, 150); this.dockMgr.DockControl(this.green, this.black, Syncfusion.Windows.Forms.Tools.DockingStyle.Tabbed, 150);
this.dockMgr.EndInit();
VS2005, SyncFusion 5.2.0.25
SyncFusionPOC.zip