Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to remove all buttons on a form C#

panel.Controls.OfType<Button>().ToList().ForEach(btn => btn.Dispose());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #buttons #form
ADD COMMENT
Topic
Name
9+4 =