我爱我老婆

给控件的Description添加多语言支持

 

1、在工程中新建resx资源文件,如:String.resx,添加string项
2、驱动模块

驱动模块
其中assemblyName+"."+ResxName不带.resx
例如:DataFlow.CommonData.Strings
3、定义description Attribute
LogicControlDescriptionAttribute

4、给控件相关属性添加Attribute
Text
posted @ 2007-11-13 11:07  DataFlow  阅读(170)  评论(0编辑  收藏  举报