using System;using System.IO; using System.Security.Cryptography;using System.Text; using System.Web.Security;public static string Decrypt(string Text...
分类:
其他好文 时间:
2014-10-21 10:09:54
阅读次数:
711
一、在C#中,要使用正则表达式类,请在源文件开头处添加以下语句:using System.Text.RegularExpressions;二、RegEx类常用的方法1、静态Match方法使用静态Match方法,可以得到源中第一个匹配模式的连续子串。静态的Match方法有2个重载,分别是Regex.M...
<!DOCTYPEhtml><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/><title></title><scripttype="text/javascript">window.onload=function(){varbtn=document.ge..
分类:
编程语言 时间:
2014-10-21 02:27:53
阅读次数:
199
var R: TRect;begin//Form1.Canvas.TextOut(20,20, '说明'); R:=Rect(20, 20, 120, 70); DrawText(Canvas.Handle, '说明', -1, R, DT_END_ELLIPSIS);end;//在...
字体对input的影响 效果: 效果:一个看起来还行的input输入框
分类:
其他好文 时间:
2014-10-21 01:01:40
阅读次数:
286
在網頁中如何使用Sikuli找特定字串呢?原理:我們可以使用 組合鍵 ctrl + 來放大網頁的比例,使得sikuli的OCR功能找的更清準實作:for i in range(4): type("+", KEY_CTRL)which = input() # Let user type the...
分类:
Web程序 时间:
2014-10-21 00:43:33
阅读次数:
328
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Delegate{ //1.定义委托 publ...
============问题描述============ 用ContentResolver显示出来的联系人列表,点击某一联系人后跳转到发短信界面,要咋样把联系人的姓名传递到短信界面呢,求大神 ...
分类:
其他好文 时间:
2014-10-20 23:14:47
阅读次数:
198
在执行一个shell脚本时,遇到了“-bash: ./killSession.sh: /bin/bash: bad interpreter: Text file busy”错误提示,如下所示: [oracle@DB-Server bin]$ ./killSession.sh -bash: ./kil...
分类:
系统相关 时间:
2014-10-20 23:12:36
阅读次数:
311
============问题描述============ 我想用webview进行展示一个html,html是以json字符串传过来的没标签的字符串,怎么进行展示的?字符串内容如下有图片有字符,如下:StringhtmlData=&lt;pstyle=&quot;text-align...
分类:
移动开发 时间:
2014-10-20 23:06:49
阅读次数:
383