/*******************************************************************************
* Copyright(c) 2014 DongkeSoft All rights reserved. / Confidential
* 类的信息:
* 1.程序名称:C_TXT_BarCode.cs
* 2.功能描述:条码文本框
* 编辑履历:
* 作者 日期 版本 修改内容
* 陈晓野 2014/09/29 1.00 新建
*******************************************************************************/
using System.ComponentModel;
using System.Drawing;
namespace Dongke.IBOSS.PRD.Basics.BaseControls
{
///
/// 条码文本框
///
public partial class C_TXT_BarCode : DKTextBoxBase
{
#region 构造函数
///
/// 构造函数
///
public C_TXT_BarCode()
{
InitializeComponent();
base.Text = string.Empty;
this.ImeMode = System.Windows.Forms.ImeMode.Off;
base.RejectChars = @"[^0-9a-zA-Z]";
this.FixChars = "[a-zA-Z0-9]";
//base.FixChars = @"^([a-zA-Z]*|[a-zA-Z0-9]*[a-zA-Z]+)([0-9]{10,})$";
base.FixPatternMessage = "";
base.AllowCharsPattern = false;
this.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
}
#endregion
#region 属性
#endregion
}
}