Пример #1
0
 /// <summary>
 /// Notification that the size of the control has changed.
 /// </summary>
 /// <param name="tc">Reference to owning TreeControl.</param>
 public override void SizeChanged(TreeControl tc)
 {
     // Are we requested to allocate spare space?
     if (tc.GroupAutoAllocate)
     {
         // Then changing the size of the control will alter how much space is
         // reallocate and so need to recalculate all the nodes.
         tc.InvalidateNodeDrawing();
     }
 }