Tinkr2/4.2/AphelionCore/AphelionCore/Controls/Container.cs
/// <summary>
/// Removes a child from the container
/// </summary>
/// <param name="child">Child to remove</param>
Removes a child from the container
Removes a child from the container
public virtual void RemoveChild(IControl child)
      {
         if (_children == null || child == _removing)
         {
            return;
         }
         for (int i = 0; i < _children.Length; i++)
         {
            if (_children[i] == child)
            {
               RemoveChildAt(i);
               return;
            }
         }
      }
public virtual void RemoveChild ( IControl child ) { if ( _children == null || child == _removing ) { return ; } for ( int i = 0 ; i < _children . Length ; i ++ ) { if ( _children [ i ] == child ) { RemoveChildAt ( i ) ; return ; } } }
Removes a child from the container
Removes a child from the container
child
IControl
Child to remove
Child to remove