コード例 #1
0
        public override string GetLocalizedString(BarString id)
        {
            switch (id)
            {
            }
            string rs = xtraLocalizer.GetLocalizedString(id);

            return(rs == null?base.GetLocalizedString(id) : rs);
        }
コード例 #2
0
        public override string GetLocalizedString(GridStringId id)
        {
            switch (id)
            {
            case GridStringId.CheckboxSelectorColumnCaption: return("选择");

            case GridStringId.FindNullPrompt: return("输入查询关键字");
            }
            string rs = xtraLocalizer.GetLocalizedString(id);

            return(rs == null?base.GetLocalizedString(id) : rs);
        }
コード例 #3
0
        public override string GetLocalizedString(StringId id)
        {
            switch (id)
            {
            //   case StringId.XtraMessageBoxOkButtonText: return "确认";
            case StringId.SearchControlNullValuePrompt: return("请输入搜索内容...");

            case StringId.FilterCriteriaToStringFunctionIsNullOrEmpty: return("空或未定义");

            case StringId.FilterCriteriaToStringGroupOperatorAnd: return("并且");

            case StringId.FilterCriteriaToStringGroupOperatorOr: return("或者");
            }
            string rs = xtraLocalizer.GetLocalizedString(id);

            return(rs == null?base.GetLocalizedString(id) : rs);
        }