private void btnScan_Click(object sender, EventArgs e)
        {
            frmScanner frm = new frmScanner()
            {
            };

            frm.ShowDialog();
        }
Example #2
0
        private void btnScan_Click(object sender, EventArgs e)
        {
            var techSpecs = UcTechSpecGrid.GridView.GetFocusedRow() as TechSpecs;

            if (techSpecs == null)
            {
                return;
            }

            frmScanner frm = new frmScanner(scanners =>
            {
                scanners.RefId     = techSpecs.Id;
                scanners.TableName = "TechSpecs";
            });

            frm.ShowDialog();
        }
Example #3
0
        private void btnScan_Click(object sender, EventArgs e)
        {
            var deliveries = DeliveryGrid.GridView.GetFocusedRow() as Deliveries;

            if (deliveries == null)
            {
                return;
            }

            frmScanner frm = new frmScanner(scanners =>
            {
                scanners.RefId     = deliveries.Id;
                scanners.TableName = "Deliveries";
            });

            frm.ShowDialog();
        }