Пример #1
0
        private static KeyBoardHelper CarNoWithOutCheckHelper()
        {
            KeyBoardHelper helper = new KeyBoardHelper(CarNoMaxLength, @"*#", string.Empty, new KeyBoardHelper.CheckResult(NoCheck));

            helper.CheckInput = new KeyBoardHelper.CheckResult(CheckInputCarNo);

            return(helper);
        }
Пример #2
0
        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);
        }
Пример #3
0
        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;
        }
Пример #4
0
 public FrmKeyBoard(KeyBoardHelper helper, string NowText) : this(helper, NowText, ' ')
 {
 }