Published
- 1 min read
how to get all panels in form in c#
The solution for this is noted below
how to get all panels in form in c#
Solution
foreach (Control c in this.Controls) {
if (c is Panel) {
//DO
}
}
Try other methods by searching on the site. That is if this doesn’t work