- 博客(3)
- 收藏
- 关注
原创 How to read resources in other assembly in C#
.NET下的资源读取和设置容易了很多。本文给出一例,应用于多语言开发,纯dll调用关系。 步骤1:使用工具,如reflector 先行读取其他Assembly file, 获取其资源描述 例如: // public resource fmMain.TfrmMain.resources 步骤2: System.Resourc
2009-02-13 02:58:00 290
原创 How to Set Currency Field DisplayFormat without Currency Symbol in Delphi
在Delphi中,货币(Currency)类型变量默认带有$(¥)符号。如果应用程序需要涉及多国货币,那么就需要手工消除这个设计不周带来的弊端。以下格式码实现了最大程度的等效显示:###,0.00##;(###,0.00##)需要注意的是,中间的:符号区分了正数0与负数时的不同格式。分号后面是负数的格式。
2008-05-13 06:31:00 747
原创 how to set Crystal Report options with printing preferences Dialog in C#
..... if (printDialog1.ShowDialog() == DialogResult.OK) { try { reportDocument1.PrintOptions.PrinterName = printDialog1.Docume
2008-04-22 01:00:00 924
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人