摘要:
/// <summary>获取两个字符串的最大公共部分</summary> /// <param name="str1">字符串1</param> /// <param name="str2">字符串2</param> /// <returns>两个字符串的最大公共部分集合,可能有多个</retur 阅读全文
摘要:
var newwin; if (newwin != undefined) { newwin.close(); } newwin = window.open( url, "onlywin", "toolbar=no, location=no, directories=no, status=no, me 阅读全文
摘要:
function myFunction(){ //yyyy-mm-dd hh:mm:ss var reDateTime =/^(?:19|20)[0-9][0-9]-(?:(?:0[1-9])|(?:1[0-2]))-(?:(?:[0-2] [1-9])|(?:[1-3][0-1])) (?:(?: 阅读全文
摘要:
[DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.Winapi)] internal static extern IntPtr GetFocus(); ///获取 当前拥有焦点 阅读全文