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}");

   


  }

里面翻译的有所不妥。请大家谅解,正好有个网友需要,所以贴上来了。
 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值