private static KeyBoardHelper CarNoWithOutCheckHelper() { KeyBoardHelper helper = new KeyBoardHelper(CarNoMaxLength, @"*#", string.Empty, new KeyBoardHelper.CheckResult(NoCheck)); helper.CheckInput = new KeyBoardHelper.CheckResult(CheckInputCarNo); return(helper); }
private static KeyBoardHelper CarNoHelper() { KeyBoardHelper helper = new KeyBoardHelper(CarNoMaxLength, @"*#", string.Empty, new KeyBoardHelper.CheckResult(FATool.FTChecker.ChkIsCarNo)); helper.CheckInput = new KeyBoardHelper.CheckResult(CheckInputCarNo); return(helper); }
public FrmKeyBoard(KeyBoardHelper helper, string NowText, char c) { InitializeComponent(); _helper = helper; TmpString = NowText; strInput = TmpString; lblInput.Font = new Font(@"Tahoma", 20, helper.isBoldFont ? FontStyle.Bold : FontStyle.Regular); if (c != ' ' && char.IsLetterOrDigit(c)) { NormalKey(c.ToString()); } //bOpenScanner = GBL.Scanner.isOn; }
public FrmKeyBoard(KeyBoardHelper helper, string NowText) : this(helper, NowText, ' ') { }