using System.Drawing; using System.Windows.Forms; namespace Dongke.WinForm.Controls { /// /// 护照输入文本框 /// [ToolboxBitmap(typeof(TextBox))] public class TxtPassport : TextBoxCodeBase { #region 构造函数 /// /// 护照输入文本框 /// public TxtPassport() { this.Rejected = "[^0-9a-zA-Z]"; } #endregion } }