代码是在codeproject里下载的,做了些修改 下载: /Files/wangbin5542/Downloads/IPTextBox.rar 转载于:https://www.cnblogs.com/wangbin5542/archive/2010/05/26/1744403.html