示例#1
0
        private void tsbScan_Click(object sender, EventArgs e)
        {
            KB9TextBox t   = GetFocusedTextBox();
            frmAscii   frm = new frmAscii();
            string     s   = frm.InputAscii();

            if (s.Length <= 0)
            {
                return;
            }
            t.AddKeyCode(s, true);
        }
示例#2
0
        private void tsmScan_Click(object sender, EventArgs e)
        {
            KB9TextBox t = GetFocusedTextBox();

            frmAscii frm     = new frmAscii();
            string   strscan = frm.InputAscii();

            if (strscan.Length > 0)
            {
                t.AddKeyCode(strscan, true);
            }
            //frm.ShowDialog();
        }