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

推荐订阅源

P
Palo Alto Networks Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
C
CERT Recently Published Vulnerability Notes
C
Cybersecurity and Infrastructure Security Agency CISA
S
Schneier on Security
S
Securelist
酷 壳 – CoolShell
酷 壳 – CoolShell
C
CXSECURITY Database RSS Feed - CXSecurity.com
Cyberwarzone
Cyberwarzone
Apple Machine Learning Research
Apple Machine Learning Research
S
SegmentFault 最新的问题
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
GbyAI
GbyAI
Security Latest
Security Latest
Last Week in AI
Last Week in AI
Microsoft Security Blog
Microsoft Security Blog
云风的 BLOG
云风的 BLOG
Recorded Future
Recorded Future
Webroot Blog
Webroot Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
TaoSecurity Blog
TaoSecurity Blog
C
Cisco Blogs
博客园 - 【当耐特】
Blog — PlanetScale
Blog — PlanetScale
Hugging Face - Blog
Hugging Face - Blog
B
Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Attack and Defense Labs
Attack and Defense Labs
The Last Watchdog
The Last Watchdog
U
Unit 42
阮一峰的网络日志
阮一峰的网络日志
Project Zero
Project Zero
WordPress大学
WordPress大学
L
LINUX DO - 最新话题
F
Fortinet All Blogs
L
LINUX DO - 热门话题
PCI Perspectives
PCI Perspectives
Simon Willison's Weblog
Simon Willison's Weblog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
MongoDB | Blog
MongoDB | Blog
Latest news
Latest news
P
Proofpoint News Feed
T
Threat Research - Cisco Blogs
The Hacker News
The Hacker News
爱范儿
爱范儿
O
OpenAI News
J
Java Code Geeks
T
The Exploit Database - CXSecurity.com
H
Hackread – Cybersecurity News, Data Breaches, AI and More

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

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点击【是】则删除,否则点击【否】退出。");