ultraGrid中关于筛选窗口的汉化代码
ultraGrid中关于筛选窗口的汉化代码 private void GridFilter_Customizer()
{
Infragistics.Shared.ResourceCustomizer rc=Infragistics.Win.UltraWinGrid.Resources.Customizer;
rc.SetCustomizedString('RowFilterDropDownAllItem','所有');
rc.SetCustomizedString('RowFilterDropDownBlanksItem','空');
rc.SetCustomizedString('RowFilterDropDownCustomItem','自定义');
rc.SetCustomizedString('RowFilterDropDownNonBlanksItem','非空');
rc.SetCustomizedString('RowFilterDropDownAllItem','所有');
rc.SetCustomizedString('RowFilterDialogTitlePrefix','输入过滤准则为');
rc.SetCustomizedString('FilterDialogAndRadioText','并且');
rc.SetCustomizedString('FilterDialogOrRadioText','或者');
rc.SetCustomizedString('FilterDialogAddConditionButtonText','增加一个条件(&N)');
rc.SetCustomizedString('FilterDialogDeleteButtonText','删除一个条件');
rc.SetCustomizedString('FilterDialogOkButtonText','确定(&O)');
rc.SetCustomizedString('FilterDialogCancelButtonText','取消(&C)');
rc.SetCustomizedString('FilterDialogOkButtonNoFiltersText','不过滤');
rc.SetCustomizedString('RowFilterDialogOperatorHeaderCaption','比较运算符');
rc.SetCustomizedString('RowFilterDialogOperandHeaderCaption','准则');
rc.SetCustomizedString('RowFilterDropDownEquals','等于');
rc.SetCustomizedString('RowFilterDropDownNotEquals','不等于');
rc.SetCustomizedString('RowFilterDropDownLessThan','小于');
rc.SetCustomizedString('RowFilterDropDownLessThanOrEqualTo','小于等于');
rc.SetCustomizedString('RowFilterDropDownGreaterThan','大于');
rc.SetCustomizedString('RowFilterDropDownGreaterThanOrEqualTo','大于等于');
rc.SetCustomizedString('RowFilterDropDownMatch','自定义规则表达式');
rc.SetCustomizedString('RowFilterDropDownLike','模糊查找');
rc.SetCustomizedString('RowFilterDialogBlanksItem','空白');
rc.SetCustomizedString('RowFilterDialogDBNullItem','无值');
rc.SetCustomizedString('RowFilterDialogEmptyTextItem','空字符');
rc.SetCustomizedString('RowFilterDropDown_Operator_Equals','等于');
rc.SetCustomizedString('RowFilterDropDown_Operator_NotEquals','不等于');
rc.SetCustomizedString('RowFilterDropDown_Operator_LessThan','小于');
rc.SetCustomizedString('RowFilterDropDown_Operator_LessThanOrEqualTo','小于等于');
rc.SetCustomizedString('RowFilterDropDown_Operator_GreaterThan','大于');
rc.SetCustomizedString('RowFilterDropDown_Operator_GreaterThanOrEqualTo','大于等于');
rc.SetCustomizedString('RowFilterDropDown_Operator_Match','自定义规则表达式');
rc.SetCustomizedString('RowFilterDropDown_Operator_Like','模糊查找');
rc.SetCustomizedString('RowFilterPatternCaption','无效查找模式');
rc.SetCustomizedString('RowFilterPatternError','错误的解析模式{0}. 请输入一个有效的表达式');
rc.SetCustomizedString('RowFilterPatternException','无效查找模式{0}');
rc.SetCustomizedString('RowFilterRegexError','无效的规则表达式{0}.请输入一个有效的表达式');
rc.SetCustomizedString('RowFilterRegexErrorCaption','无效规则表达式');
rc.SetCustomizedString('RowFilterRegexException','无效规则表达式{0}');
}
里面翻译的有所不妥。请大家谅解,正好有个网友需要,所以贴上来了。