private void btnKeyboard_Click(object sender, EventArgs e) { var oForm = new LocationKeyboardForm(); if (oForm.ShowDialog() == DialogResult.OK) { txtLocationCode.Text = oForm.Tag as string; } }
private void btnKeyboard_Click(object sender, EventArgs e) { var oForm = new LocationKeyboardForm(); if (oForm.ShowDialog() == DialogResult.OK) { txtLocationCodeScan.Text = oForm.Tag as string; //txtLocationCodeScan_KeyDown(sender, new KeyEventArgs(Keys.Enter)); } }