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