download


This is for for Visual Studio 2002, 2003



使用方法:

 

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

MDIMainForm加入: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;

 

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;

posted on 2007-05-15 15:30  fosoyo  阅读(1089)  评论(0编辑  收藏  举报