上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 63 下一页
摘要: //两种方法获取的类型都是一样的 car car = new car(); Console.WriteLine(car.GetType()); Console.WriteLine(typeof(car)); Console.Read(); 阅读全文
posted @ 2013-05-14 19:29 Predator 阅读(106) 评论(0) 推荐(0) 编辑
摘要: this.listSelectObjects.Clear(); foreach (var item in TradeModelManager.Instance.DescriptolList) { this.listSelectObjects.Add(new SelectObject(item.Name,item)); } TreeNode node = this.SelectedItem as TreeNode; if (node!=null) { bool flag = false; foreach (var item in TradeModelManager.Instance.Descri 阅读全文
posted @ 2013-05-14 19:28 Predator 阅读(97) 评论(0) 推荐(0) 编辑
摘要: List<Apple> listApples = new List<Apple>(); listApples.Add(new Apple("1","1","1")); listApples.Add(new Apple("2", "2", "2")); listApples.Add(new Apple("3", "3", "3")); listApples.Add(new Apple(" 阅读全文
posted @ 2013-05-07 20:46 Predator 阅读(184) 评论(0) 推荐(0) 编辑
摘要: this.richTextBox1.Focus(); for(int i=65;i<91;i++) { char Letter=(char)i; SendKeys.Send(Letter.ToString()); System.Threading.Thread.Sleep(100); SendKeys.Flush(); } for(int i=97;i<123;i++) { char Letter=(char)i; SendKeys.Send(Letter.ToString()); System.Threading.Thread.Sleep(100); SendKeys.Fl... 阅读全文
posted @ 2013-05-07 20:45 Predator 阅读(279) 评论(0) 推荐(0) 编辑
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 63 下一页