private void btnResolveCard_Click(object sender, EventArgs e)
        {
            var form = new CardResolverForm();

            var result = form.ShowDialog();

            if (result == System.Windows.Forms.DialogResult.OK)
            {
                txtCardBarcode.Text = form.Card.Barcode;
                this.LoadSales();

            }
        }
Example #2
0
        private void metroButton2_Click(object sender, EventArgs e)
        {
            var form = new CardResolverForm();

            var result = form.ShowDialog();

            if (result == System.Windows.Forms.DialogResult.OK)
            {
                txtCardBarcode.Text = form.Card.Barcode;
                txtCardBarcode.Focus();
                SendKeys.Send("{ENTER}");
                //txtCardBarcode_KeyDown(this,(char)Keys.Enter);

            }
        }