private void ClearTextBox(){ foreach (var control in pnlDetail.Controls) { if (!(control is TextBox)) continue; var txtBox = (TextBox)control; txtBox.Text = String.Empty; }}
本文共 218 字,大约阅读时间需要 1 分钟。
private void ClearTextBox(){ foreach (var control in pnlDetail.Controls) { if (!(control is TextBox)) continue; var txtBox = (TextBox)control; txtBox.Text = String.Empty; }}
转载地址:http://ewovo.baihongyu.com/