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); }
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(); }