清空界面输入的内容,帮忙看看小弟我的代码的有关问题在哪儿,那是没有执行
清空界面输入的内容,帮忙看看我的代码的问题在哪儿,那是没有执行!
------解决方案--------------------
foreach (Control c in this.Controls)
加断点看,顺便用个变量看看c的id是什么
- C# code
void ClearForm() { foreach (Control c in this.Controls) { if ((c is TextBox) || (c is RichTextBox)) { c.(str
------解决方案--------------------
foreach (Control c in this.Controls)
加断点看,顺便用个变量看看c的id是什么