答:
      foreach (System.Windows.Forms.Control control in this.Controls)
      {
      if (control is System.Windows.Forms.TextBox)
      {
        System.Windows.Forms.TextBox tb = (System.Windows.Forms.TextBox)control ;
        tb.Text = String.Empty ;
      }
      }

相关文章:

  • 2022-01-31
  • 2022-12-23
  • 2021-11-23
  • 2021-12-08
  • 2021-11-21
  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-07
  • 2022-12-23
  • 2021-11-22
  • 2021-07-22
相关资源
相似解决方案