摘要:
Regex r = new Regex(childstr); str = r.Replace(str, "", 1); 应用1:已知一个字符串,比如asderwsde,寻找其中的一个子字符串比如sde 的个数,如果没有返回0,有的话返回子字符串的个数。 public static int getnu 阅读全文
摘要:
在你的类中加入下面的程序。 public const int WM_DEVICECHANGE = 0x219; public const int DBT_DEVICEARRIVAL = 0x8000; public const int DBT_CONFIGCHANGECANCELED = 0x001 阅读全文