摘要: Ext.Net.ComboBox combox = new Ext.Net.ComboBox(); combox.ID = TCMUtility.GuidToControlID(formField.SYSID, "field"); combox.Height = Unit.Parse("25px"); combox.Width = Unit.Parse("280px"); combox.LabelAlign = LabelAlign.Right; combox.FieldLabel = formField.FIELDNAME; com 阅读全文
posted @ 2012-02-17 14:48 zp_Alex 阅读(2378) 评论(0) 推荐(0) 编辑
摘要: 转载:http://hi.baidu.com/lifangfang1218/blog/item/aa49002362f76bf9d6cae244.html第三种方法需要编写一个对象排序比较的方法,对List中的元素对象没有特殊的要求,但在比较方法中需要实现对象比较规则,这个方法实现后,就可以把这方 名字作为参数委托给List的Sort方法,Sort方法在排序时会执行这个方法对List中的对象进行比较,详细可参照下面的代码。对List中元素我 们还使用上面的SortTestObj2类对象。staticvoid Main(string[] args) {//利用代理方法进行排序 DelegateS 阅读全文
posted @ 2012-02-17 09:31 zp_Alex 阅读(556) 评论(0) 推荐(0) 编辑