摘要: //后台线程更新TextBox private void SetTextBox(TextBox txt, string value) { Action act = () => { txt.Text = value; }; if (txt.InvokeRequired) { txt.Invoke(ac 阅读全文
posted @ 2016-02-24 18:54 清晨时光 阅读(945) 评论(0) 推荐(0)
摘要: //筛选 List<Person> persons = PersonsList(); persons = persons.Where(p => p.Age > 6).ToList(); //所有Age>6的Person的集合 persons = persons.Where(p => p.Name.C 阅读全文
posted @ 2016-02-24 11:52 清晨时光 阅读(201) 评论(0) 推荐(0)