摘要:
"^\d+$" //非负整数(正整数 + 0) "^[0-9]*[1-9][0-9]*$" //正整数 "^((-\d+)|(0+))$" //非正整数(负整数 + 0) "^-[0-9]*[1-9][0-9]*$" //负整数 "^-?\d+$" //整数 "^\d+(\.\d+)?$" //非负浮点数(正浮点数 + 0) "^(([0-9]+\.[0-9]*[1-9][0-9]... 阅读全文
摘要:
using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.Runtime.InteropServices;using System.Text;namespace Win... 阅读全文
摘要:
From:http://elevenwolf.cnblogs.com/archive/2004/07/23/26969.html1.一个应用程序只能被用户打开一次 Process mobj_pro =Process.GetCurrentProcess(); Process[] mobj_proList=Process.GetProcessesByName(mobj_pro.P... 阅读全文