Exemplo n.º 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);
        }
Exemplo n.º 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();
        }