摘要: /// <summary> /// 循环整个form /// </summary> /// <param name="control">form</param> private void GetValue(Control control) { if (control.HasControls()) { foreach (Control c in control.Controls) { if (c is TextBox) {} } } } 阅读全文
posted @ 2013-01-17 15:41 丁焕轩 阅读(1197) 评论(0) 推荐(0) 编辑
摘要: for (int j = 0; j < this.listQuery.Items.Count; j++){ listQuery.Items.Remove(this.listQuery.Items[j]); j--;} 阅读全文
posted @ 2013-01-17 15:37 丁焕轩 阅读(308) 评论(0) 推荐(0) 编辑