UltraWinGrid中关于筛选窗口的汉化代码

 1 private   void  GridFilter_Customizer()
 2    {
 3   Infragistics.Shared.ResourceCustomizer rc=Infragistics.Win.UltraWinGrid.Resources.Customizer;
 4   rc.SetCustomizedString("RowFilterDropDownAllItem","所有");
 5   rc.SetCustomizedString("RowFilterDropDownBlanksItem","");
 6   rc.SetCustomizedString("RowFilterDropDownCustomItem","自定义");
 7   rc.SetCustomizedString("RowFilterDropDownNonBlanksItem","非空");
 8   rc.SetCustomizedString("RowFilterDropDownAllItem","所有");
 9   rc.SetCustomizedString("RowFilterDialogTitlePrefix","输入过滤准则为");
10   rc.SetCustomizedString("FilterDialogAndRadioText","并且");
11   rc.SetCustomizedString("FilterDialogOrRadioText","或者");
12   rc.SetCustomizedString("FilterDialogAddConditionButtonText","增加一个条件(&N)");
13   rc.SetCustomizedString("FilterDialogDeleteButtonText","删除一个条件");
14   rc.SetCustomizedString("FilterDialogOkButtonText","确定(&O)");
15   rc.SetCustomizedString("FilterDialogCancelButtonText","取消(&C)");
16   rc.SetCustomizedString("FilterDialogOkButtonNoFiltersText","不过滤");
17   rc.SetCustomizedString("RowFilterDialogOperatorHeaderCaption","比较运算符");
18   rc.SetCustomizedString("RowFilterDialogOperandHeaderCaption","准则");
19   rc.SetCustomizedString("RowFilterDropDownEquals","等于");
20   rc.SetCustomizedString("RowFilterDropDownNotEquals","不等于");
21   rc.SetCustomizedString("RowFilterDropDownLessThan","小于");
22   rc.SetCustomizedString("RowFilterDropDownLessThanOrEqualTo","小于等于");
23   rc.SetCustomizedString("RowFilterDropDownGreaterThan","大于");
24   rc.SetCustomizedString("RowFilterDropDownGreaterThanOrEqualTo","大于等于");
25   rc.SetCustomizedString("RowFilterDropDownMatch","自定义规则表达式");
26   rc.SetCustomizedString("RowFilterDropDownLike","模糊查找");
27
28   rc.SetCustomizedString("RowFilterDialogBlanksItem","空白");
29   rc.SetCustomizedString("RowFilterDialogDBNullItem","无值");
30   rc.SetCustomizedString("RowFilterDialogEmptyTextItem","空字符");
31
32   rc.SetCustomizedString("RowFilterDropDown_Operator_Equals","等于");
33   rc.SetCustomizedString("RowFilterDropDown_Operator_NotEquals","不等于");
34   rc.SetCustomizedString("RowFilterDropDown_Operator_LessThan","小于");
35   rc.SetCustomizedString("RowFilterDropDown_Operator_LessThanOrEqualTo","小于等于");
36   rc.SetCustomizedString("RowFilterDropDown_Operator_GreaterThan","大于");
37   rc.SetCustomizedString("RowFilterDropDown_Operator_GreaterThanOrEqualTo","大于等于");
38   rc.SetCustomizedString("RowFilterDropDown_Operator_Match","自定义规则表达式");
39   rc.SetCustomizedString("RowFilterDropDown_Operator_Like","模糊查找");
40
41   rc.SetCustomizedString("RowFilterPatternCaption","无效查找模式");
42   rc.SetCustomizedString("RowFilterPatternError","错误的解析模式{0}. 请输入一个有效的表达式");
43   rc.SetCustomizedString("RowFilterPatternException","无效查找模式{0}");
44   rc.SetCustomizedString("RowFilterRegexError","无效的规则表达式{0}.请输入一个有效的表达式");
45   rc.SetCustomizedString("RowFilterRegexErrorCaption","无效规则表达式");
46   rc.SetCustomizedString("RowFilterRegexException","无效规则表达式{0}");
47
48   
49
50
51  }
 
52
53

你可能感兴趣的:(grid)