download
This is for
for Visual Studio 2002, 2003
使用方法:
在项目中加入附件中 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;
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;