Пример #1
0
 public static GridLocal Create()
 {
     if (_LocaObj == null)
     {
         _LocaObj = new GridLocal();
     }
     return(_LocaObj);
 }
Пример #2
0
        /// <summary>
        /// 开始设置资源的信息。
        /// </summary>
        public static void LocalSetting()
        {
            //本地化XtraGrid 组件
            DevExpress.XtraGrid.Localization.GridLocalizer.Active = GridLocal.Create();
            //本地化XtraPrinting 组件
            DevExpress.XtraPrinting.Localization.PreviewLocalizer.Active = new PrintLocal();

            DevExpress.XtraPivotGrid.Localization.PivotGridLocalizer.Active = new PivotGridLocal();

            DevExpress.XtraEditors.Controls.Localizer.Active = new EditorsLocal();

            //WangHui:图表分析注释
            //本地化图表组件
            //MB.WinDxChart.Localization.DevexpressLib.LocalSetting();
        }