/******************************************************************************* * Copyright(c) 2014 DongkeSoft All rights reserved. / Confidential * 类的信息: * 1.程序名称:C_TXT_Code.cs * 2.功能描述:编码文本框 * 编辑履历: * 作者 日期 版本 修改内容 * 陈晓野 2014/09/29 1.00 新建 *******************************************************************************/ using System.ComponentModel; namespace Dongke.IBOSS.PRD.Basics.BaseControls { /// /// 编码文本框 /// public partial class C_TXT_CodeEx : DKTextBoxBase { #region 构造函数 /// /// 构造函数 /// public C_TXT_CodeEx() { InitializeComponent(); this.ImeMode = System.Windows.Forms.ImeMode.Off; this.RejectChars = "[^a-zA-Z0-9-,#]"; this.FixChars = "[a-zA-Z0-9-,#]"; this.FixPatternMessage = "只能输入字母和数字"; this.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; } #endregion } }