“`”
答:
<pre><code class=""language-c#"" lang=""c#"">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 ;
}
}
</code></pre>
<pre><code> "“`
Was this helpful?
0 /
0