Fixed a sample bug #271. Layout By Code menu item should call CloseAllContents instead of CloseAllDocuments.

This commit is contained in:
Lex Li 2015-01-25 20:56:43 +08:00
parent 8668fdab85
commit 78c5ebd08e

View File

@ -459,7 +459,7 @@ namespace DockSample
{
dockPanel.SuspendLayout(true);
CloseAllDocuments();
CloseAllContents();
CreateStandardControls();