Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

clear controls from panel c#


    //to remove all comboboxes
    foreach (Control item in panel1.Controls.OfType<ComboBox>())
    {
        panel1.Controls.Remove(item); 
    }

Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #clear #controls #panel
ADD COMMENT
Topic
Name
3+3 =