-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
任延华
authored
Jul 15, 2018
1 parent
86dc086
commit f733f1f
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# MARCScriptLib | ||
|
||
Marc转换脚本集锦 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using System.Windows.Forms; | ||
using System.IO; | ||
using System.Text; | ||
using System.Xml; | ||
|
||
using dp2Circulation; | ||
using DigitalPlatform.Marc; | ||
using DigitalPlatform.Script; | ||
using DigitalPlatform.Text; | ||
|
||
public class CheckContainHanzi : MarcQueryHost | ||
{ | ||
// 将包含汉字的记录选中 | ||
public override void OnRecord(object sender, StatisEventArgs e) | ||
{ | ||
ListViewItem item = (ListViewItem)this.UiItem; | ||
|
||
if (StringUtil.ContainHanzi(this.MarcRecord.Text)) | ||
item.Selected = true; | ||
else | ||
item.Selected = false; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
## CheckContainHanzi.cs 将包含汉字的Marc记录选中 | ||
|
||
一些说明 | ||
|
||
## 第2个cs | ||
|