Пример #1
0
        private void txtPicklistCode_Click(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                if (!FAQ.DoesPicklistExist(txtPicklistCode.Text))
                {
                    MessageBox.Show("Barcode Not Recognized");
                    return;
                }

                DeclarePicklistScanningWindow dialog = new DeclarePicklistScanningWindow();
                dialog.txtPicklist.Text = txtPicklistCode.Text;
                dialog.ShowDialog();
                this.Close();
            }
        }