X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FManaged.Windows.Forms%2FSystem.Windows.Forms%2FTreeNode.cs;h=5f8353fe311b92330fcf5367e809f29861b1e1f4;hb=3d63116e9c3219c05fccf8c5274d465cd02bf5c3;hp=bf597a27993b8216f2d79c0d3d7ac950d0c58ebe;hpb=b586d6e29a89655b51909c4fb1fa9df30081bc77;p=mono.git diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeNode.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeNode.cs index bf597a27993..5f8353fe311 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeNode.cs +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeNode.cs @@ -43,6 +43,7 @@ namespace System.Windows.Forms { private bool is_expanded = true; private Rectangle bounds = Rectangle.Empty; + internal Rectangle plus_minus_bounds = Rectangle.Empty; private bool check; internal OwnerDrawPropertyBag prop_bag; @@ -412,6 +413,14 @@ namespace System.Windows.Forms { bounds.Height = height; } + internal void UpdatePlusMinusBounds (int x, int y, int width, int height) + { + plus_minus_bounds.X = x; + plus_minus_bounds.Y = y; + plus_minus_bounds.Width = width; + plus_minus_bounds.Height = height; + } + internal void SetAddedData (TreeView tree_view, TreeNode parent, int index) { this.tree_view = tree_view;