This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Add controls in the correct order for Dock.Fill to work correctly.

svn path=/trunk/winforms/; revision=87724
  • Loading branch information...
jpobst committed Oct 17, 2007
1 parent 890fcc0 commit f5ce5f7d51bc257ba297b76ae58ea6b01c724156
Showing with 1 addition and 1 deletion.
  1. +1 −1 treeview/swf-treeview.cs
View
@@ -41,7 +41,6 @@ public TreeViewTest ()
tool_bar.ButtonClick += new ToolBarButtonClickEventHandler (ToolBarButtonClick);
- Controls.Add (tool_bar);
tree_view = new TreeView ();
tree_view.Anchor = AnchorStyles.Top | AnchorStyles.Left;
@@ -64,6 +63,7 @@ public TreeViewTest ()
Controls.Add (tree_view);
+ Controls.Add (tool_bar);
tree_view.Nodes [0].Expand ();
/*

0 comments on commit f5ce5f7

Please sign in to comment.