如果是要清空单页的话: foreach (Control ctl in tabPage1.Controls) { if (ctl is TextBox) ctl.Text = string.Empty; }
foreach (Control ctl in tabPage1.Controls) { if (ctl is TextBox) ctl.Text = string.Empty; }
17,748
社区成员
24,327
社区内容
加载中
试试用AI创作助手写篇文章吧