Dxperience 7.1.3 简体中文本地化




download


This is for Visual Studio 2005


使用方法:

 

在项目中加入附件中DevExpress.LocalizationCHS.dll引用

在MDI的MainForm加入:using DevExpress.LocalizationCHS;

在MDI MainForm 的FormLoad事件中加入:

DevExpressXtraBarsLocalizationCHS XtraBarsLocalizer = new DevExpressXtraBarsLocalizationCHS();

DevExpress.XtraBars.Localization.BarLocalizer.Active = XtraBarsLocalizer;

 

DevExpressXtraChartsLocalizationCHS XtraChartsLocalizer = new DevExpressXtraChartsLocalizationCHS();

DevExpress.XtraCharts.Localization.ChartLocalizer.Active = XtraChartsLocalizer;

 

DevExpressXtraEditorsLocalizationCHS XtraEditorsLocalizer = new DevExpressXtraEditorsLocalizationCHS();

DevExpress.XtraEditors.Controls.Localizer.Active = XtraEditorsLocalizer;

 

DevExpressXtraGridLocalizationCHS XtraGridLocalizer = new DevExpressXtraGridLocalizationCHS();

DevExpress.XtraGrid.Localization.GridLocalizer.Active = XtraGridLocalizer;

 

DevExpressXtraLayoutLocalizationCHS XtraLayoutLocalizer = new DevExpressXtraLayoutLocalizationCHS();

DevExpress.XtraLayout.Localization.LayoutLocalizer.Active = XtraLayoutLocalizer;

 

DevExpressXtraNavBarLocalizationCHS XtraNavBarLocalizer = new DevExpressXtraNavBarLocalizationCHS();

DevExpress.XtraNavBar.NavBarLocalizer.Active = XtraNavBarLocalizer;

 

DevExpressXtraPivotGridLocalizationCHS XtraPivotGridLocalizer = new DevExpressXtraPivotGridLocalizationCHS();

DevExpress.XtraPivotGrid.Localization.PivotGridLocalizer.Active = XtraPivotGridLocalizer;

 

DevExpressXtraPrintingLocalizationCHS XtraPrintingLocalizer = new DevExpressXtraPrintingLocalizationCHS();

DevExpress.XtraPrinting.Localization.PreviewLocalizer.Active = XtraPrintingLocalizer;

 

DevExpressXtraReportsLocalizationCHS XtraReportsLocalizer = new DevExpressXtraReportsLocalizationCHS();

DevExpress.XtraReports.Localization.ReportLocalizer.Active = XtraReportsLocalizer;

 

DevExpressXtraRichTextEditLocalizationCHS XtraRichTextEditLocalizer = new DevExpressXtraRichTextEditLocalizationCHS();

DevExpress.XtraRichTextEdit.Localization.XtraRichTextEditLocalizer.Active = XtraRichTextEditLocalizer;

 

DevExpressXtraSchedulerLocalizationCHS XtraSchedulerLocalizer = new DevExpressXtraSchedulerLocalizationCHS();

DevExpress.XtraScheduler.Localization.SchedulerLocalizer.Active = XtraSchedulerLocalizer;

 

DevExpressXtraSpellCheckerLocalizationCHS XtraSpellCheckerLocalizer = new DevExpressXtraSpellCheckerLocalizationCHS();

DevExpress.XtraSpellChecker.Localization.SpellCheckerLocalizer.Active = XtraSpellCheckerLocalizer;

 

DevExpressXtraTreeListLocalizationCHS XtraTreeListLocalizer = new DevExpressXtraTreeListLocalizationCHS();

DevExpress.XtraTreeList.Localization.TreeListLocalizer.Active = XtraTreeListLocalizer;

 

DevExpressXtraVerticalGridLocalizationCHS XtraVerticalGridLocalizer = new DevExpressXtraVerticalGridLocalizationCHS();

DevExpress.XtraVerticalGrid.Localization.VGridLocalizer.Active = XtraVerticalGridLocalizer;

 

注:若在项目中没有用到相关控件,则不需要创建类的实例。例如:没有使用到XtraScheduler控件就不需要

DevExpressXtraSchedulerLocalizationCHS XtraSchedulerLocalizer = new DevExpressXtraSchedulerLocalizationCHS();

DevExpress.XtraScheduler.Localization.SchedulerLocalizer.Active = XtraSchedulerLocalizer;

 

转载于:https://www.cnblogs.com/fosoyo/archive/2007/05/15/747236.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值