public void Empty(params TextBox[] t)
{
foreach (var i in t)
{
i.Text = "";
}
}
Empty(richTextBox1);
//第二种
<input type="reset" value="提交" />
public void Empty(params TextBox[] t)
{
foreach (var i in t)
{
i.Text = "";
}
}
Empty(richTextBox1);
//第二种
<input type="reset" value="提交" />

被折叠的 条评论
为什么被折叠?