文件名称:DisplayNameAttribute
介绍说明--下载内容均来自于网络,请自行研究使用
说到这个winform属性控件PropertyGrid,要从以前参与项目架构研发,做报表引擎开始,当时我们的目的是想做一个比较简单的报表引擎没有RDLC等报表复杂,是为了让我们的可以操作,用户可以凭借表单拖拽设置样式完成报表模板设置,与我们开发人员代码实现的数据流结合,产生基于apose.cells的excel报表。把我们多而烦的报表业务交给用户完成,用户利用报表设计完成的模板保存为xml保存至服务器,工以后使用。当时做到表单控件属性设计无疑我们采用了PropertyGrid控件,PropertyGrid支持很多的控件设计时交互,很强大,但是对于控件的属性汉化却存在问题,当时也没仔细查阅msdn,直接让控件属性为中文字段设计完成,对用户提示。最后项目基本完成,能够应对简单报表,稍微减少了些开发工作量吧。
在时隔今天做基本控件的封装的时候突然看见了System.ComponentModel.DisplayNameAttribute这个标签,见名就考虑是做什么的,查询msdn才知道他就可以完成对PropertyGrid的现实名称修改(http://msdn.microsoft.com/zh-cn/library/system.componentmodel.displaynameattribute(v=VS.80).aspx?TPSecNotice)。于是便尝试了一下。-When it comes to the PropertyGrid winform attribute controls, you to participate in the project research and development of architecture, before do the report engine start, at that time, our purpose is to want to do a simple report engine such as no RDLC report complex, in order to make we can operation, users can draw form drag styled complete report template Settings, combined with our developers code implements data flow, produce based on apose. Cells by excel. Give us more bother reporting business users, users use template saved as XML report design completed saved to the server, after use. When do form control properties design we have adopted the PropertyGrid control, PropertyGrid support interaction, when a lot of control design is very strong, but to control the properties of the localization problem, at that time, didn t also canvassed the MSDN, directly to control properties for Chinese field design is completed, to the user. The basic completion of this project, can deal w
在时隔今天做基本控件的封装的时候突然看见了System.ComponentModel.DisplayNameAttribute这个标签,见名就考虑是做什么的,查询msdn才知道他就可以完成对PropertyGrid的现实名称修改(http://msdn.microsoft.com/zh-cn/library/system.componentmodel.displaynameattribute(v=VS.80).aspx?TPSecNotice)。于是便尝试了一下。-When it comes to the PropertyGrid winform attribute controls, you to participate in the project research and development of architecture, before do the report engine start, at that time, our purpose is to want to do a simple report engine such as no RDLC report complex, in order to make we can operation, users can draw form drag styled complete report template Settings, combined with our developers code implements data flow, produce based on apose. Cells by excel. Give us more bother reporting business users, users use template saved as XML report design completed saved to the server, after use. When do form control properties design we have adopted the PropertyGrid control, PropertyGrid support interaction, when a lot of control design is very strong, but to control the properties of the localization problem, at that time, didn t also canvassed the MSDN, directly to control properties for Chinese field design is completed, to the user. The basic completion of this project, can deal w
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DisplayNameAttribute.txt