摘要:
文章转自HelloSnoopy:http://www.cnblogs.com/hellosnoopy/archive/2004/12/01/71312.html下面演示了用户控件调用父页面SetLaeble方法。父页面类型用反射的方法获取,这避免了不同页面调用同样时,需要类型转换的问题(不用写很多case了:))。当然还有一种方法是父页面去实现一个接口,即去实现SetLabel方法,uc把this... 阅读全文
posted @ 2007-12-08 14:57
pensir
阅读(1814)
评论(4)
推荐(0)

浙公网安备 33010602011771号