Exemple #1
0
 public override bool Remove(Control item)
 {
     LibuiLibrary.uiBoxDelete(Parent.Handle.DangerousGetHandle(), item.Index);
     return(base.Remove(item));
 }
Exemple #2
0
 /// <summary>
 /// Removes the first occurrence of a specific <see cref="Control"/> from the <see cref="StackPanelItemCollection"/>.
 /// </summary>
 /// <param name="value">The <see cref="Control"/> to remove from the <see cref="StackPanelItemCollection"/>.</param>
 /// <returns>true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the <see cref="StackPanelItemCollection"/>.</returns>
 public override bool Remove(Control value)
 {
     LibuiLibrary.uiBoxDelete(Owner.Handle.DangerousGetHandle(), value.Index);
     return(base.Remove(value));
 }