摘要:
//两种方法获取的类型都是一样的 car car = new car(); Console.WriteLine(car.GetType()); Console.WriteLine(typeof(car)); Console.Read(); 阅读全文
摘要:
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 阅读全文