首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

打印汉化!解决思路

2012-09-23 
打印汉化!PrintSystem.Links.Clear()DevExpress.XtraPrinting.PrintableComponentLink pcl new DevExpr

打印汉化!

PrintSystem.Links.Clear();
DevExpress.XtraPrinting.PrintableComponentLink pcl = new DevExpress.XtraPrinting.PrintableComponentLink();
pcl.Component = gridControl1;
PrintSystem.Links.Add(pcl);
pcl.ShowPreview();

各位,这是代码,为什么页面出来按钮是英文的,怎么用中文显示啊?

[解决办法]
DLL汉化 
DEV未汉化
[解决办法]
//文字汉化
DevExpress.XtraPrinting.Localization.PreviewLocalizer.Active = new Dxperience.LocalizationCHS.DxperienceXtraPrintingLocalizationCHS();

[解决办法]
你看看这个链接吧,估计是你没有引用到
参考

热点排行