惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V2EX - 技术
V2EX - 技术
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
宝玉的分享
宝玉的分享
F
Fortinet All Blogs
T
Tailwind CSS Blog
IT之家
IT之家
B
Blog
D
DataBreaches.Net
博客园 - 【当耐特】
G
Google Developers Blog
WordPress大学
WordPress大学
S
Securelist
A
Arctic Wolf
Project Zero
Project Zero
T
Tenable Blog
P
Privacy International News Feed
The GitHub Blog
The GitHub Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
Schneier on Security
L
LINUX DO - 热门话题
T
Threat Research - Cisco Blogs
P
Privacy & Cybersecurity Law Blog
M
MIT News - Artificial intelligence
Scott Helme
Scott Helme
Google DeepMind News
Google DeepMind News
Simon Willison's Weblog
Simon Willison's Weblog
C
CERT Recently Published Vulnerability Notes
雷峰网
雷峰网
The Register - Security
The Register - Security
T
Threatpost
Recorded Future
Recorded Future
C
Cyber Attacks, Cyber Crime and Cyber Security
AWS News Blog
AWS News Blog
D
Docker
Cyberwarzone
Cyberwarzone
PCI Perspectives
PCI Perspectives
L
LangChain Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
腾讯CDC
T
The Exploit Database - CXSecurity.com
V
V2EX
S
Secure Thoughts
Hacker News - Newest:
Hacker News - Newest: "LLM"
AI
AI
阮一峰的网络日志
阮一峰的网络日志
Schneier on Security
Schneier on Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
B
Blog RSS Feed
J
Java Code Geeks
酷 壳 – CoolShell
酷 壳 – CoolShell

博客园 - 木人(我现在不是老大)

ERP系统的专业化发展趋势 讨厌的real和float数据 Svcutil使用点滴 windows server2003企业版64位安装sql server2008企业版64位 读书笔记 UltraGrid(16) 水晶报表使用push模式(2) 水晶报表使用push模式(1) SQL SERVER2000存储过程调试 读书笔记 UltraGrid(15) 读书笔记 UltraGrid(14) 读书笔记 UltraGrid(12) 读书笔记 UltraGrid(11) 读书笔记 UltraGrid(10) 读书笔记 UltraGrid(9) 读书笔记 UltraGrid(8) 读书笔记 UltraGrid(7) 读书笔记 UltraGrid(5) 读书笔记 UltraGrid(4) 读书笔记 UltraGrid(3)
读书笔记 UltraGrid(6)
木人(我现在不是老大) · 2012-02-10 · via 博客园 - 木人(我现在不是老大)

资源汉化
ResourceCustomizer rc = Infragistics.Win.UltraWinGrid.Resources.Customizer;
rc.SetCustomizedString("RowFilterDropDown_Operator_Contains", "包含");
如何知道资源名呢
使用Reflector.exe,在resources中查看Infragistics.Win.UltraWinGrid.strings.resources,包括grid的所有字符串资源;

常用的资源翻译如下:
            //过滤操作符

            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("RowFilterDropDown_Operator_StartsWith", "以...开始");
            rc.SetCustomizedString("RowFilterDropDown_Operator_Contains", "包含");
            rc.SetCustomizedString("RowFilterDropDown_Operator_EndsWith", "以...结束");
            rc.SetCustomizedString("RowFilterDropDown_Operator_DoesNotStartWith", "不以...开始");
            rc.SetCustomizedString("RowFilterDropDown_Operator_DoesNotContain", "不包含");
            rc.SetCustomizedString("RowFilterDropDown_Operator_DoesNotEndWith", "不以...结束");
            rc.SetCustomizedString("RowFilterDropDown_Operator_DoesNotMatch", "不匹配");
            rc.SetCustomizedString("RowFilterDropDown_Operator_NotLike", "不类似");

            //过滤值列表显示的特殊值
            rc.SetCustomizedString("RowFilterDropDownAllItem", "所有");
            rc.SetCustomizedString("RowFilterDropDownBlanksItem", "空");
            rc.SetCustomizedString("RowFilterDropDownCustomItem", "(自定义过滤)");
            rc.SetCustomizedString("RowFilterDropDownNonBlanksItem", "非空");
            rc.SetCustomizedString("RowFilterDropDownAllItem", "所有");
           
            //自定义过滤对话框
            rc.SetCustomizedString("RowFilterDialogTitlePrefix", "输入过滤准则为");
            rc.SetCustomizedString("FilterDialogAllComboItem", "所有");
            rc.SetCustomizedString("FilterDialogAnyComboItem", "任意");
            rc.SetCustomizedString("FilterDialogApplyLabelText", "过滤基于以下{0}的条件");
            rc.SetCustomizedString("FilterDialogConditionAddButtonText", "添加");
            rc.SetCustomizedString("FilterDialogConditionDeleteButtonText", "删除");
            rc.SetCustomizedString("FilterDialogDeleteButton_AccessibleDescription", "删除选择的条件");
            rc.SetCustomizedString("FilterDialogOkButtonText", "确定(&O)");
            rc.SetCustomizedString("FilterDialogCancelButtonText", "取消(&C)");
            rc.SetCustomizedString("FilterDialogOkButtonNoFiltersText", "不过滤");
            rc.SetCustomizedString("FilterDialogTitle", "自定义过滤");

            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("FilterClearButtonToolTip_FilterCell", "单击这里清除'{0}'过滤条件");
            rc.SetCustomizedString("FilterClearButtonToolTip_RowSelector", "单击这里清除所有过滤条件");

            //过滤模板
            rc.SetCustomizedString("RowFilterPatternCaption", "无效查找模式");
            rc.SetCustomizedString("RowFilterPatternError", "错误的解析模式{0}. 请输入一个有效的表达式");
            rc.SetCustomizedString("RowFilterPatternException", "无效查找模式{0}");
            rc.SetCustomizedString("RowFilterRegexError", "无效的规则表达式{0}.请输入一个有效的表达式");
            rc.SetCustomizedString("RowFilterRegexErrorCaption", "无效规则表达式");
            rc.SetCustomizedString("RowFilterRegexException", "无效规则表达式{0}");

            //列选择
            rc.SetCustomizedString("ColumnChooserButtonToolTip", "点击这里显示列选择器");
            rc.SetCustomizedString("ColumnChooserDialogCaption", "列选择");

            //删除
            rc.SetCustomizedString("DeleteMultipleRowsPrompt", @"你选择删除{0}行!\n点击【是】则删除,否则点击【否】退出。");
            rc.SetCustomizedString("DeleteRowsMessageTitle", "删除多行");
            rc.SetCustomizedString("DeleteSingleRowMessageTitle", "删除多行");
            rc.SetCustomizedString("DeleteSingleRowPrompt", "你选择删除1行!\n点击【是】则删除,否则点击【否】退出。");