摘要:
https://msdn.microsoft.com/en-us/library/6a71f45d.aspx Logical OR Operator 按位或 This operator has higher precedence than the next section and lower pre 阅读全文
摘要:
foreach (Control c in groupBox1.Controls) { if (c is TextBox) { //这里写代码逻辑 } } 遍历的时候,需要用Control遍历; 如果直接使用foreach(TextBox t in groupBox1.Controls) 并且gro 阅读全文