如果是要清空单页的话: 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,740
社区成员
24,334
社区内容
加载中
试试用AI创作助手写篇文章吧