Example #1
0
        public virtual void btnScanFiles_Click(object sender, EventArgs e)
        {
            Scanners   imageScan;
            frmScanner frmScanner = new frmScanner(scanner => { scanner.RefId = documentActions.Id; });
            var        frm        = frmScanner.ShowDialogResult();

            Detail();
        }
 private void btnScan_Click(object sender, EventArgs e)
 {
     if (!User.UserInAction("Purchase Order Scan Document"))
     {
         return;
     }
     frmScanner frmScanPO = new frmScanner(scanner =>
     {
     });
     var res = frmScanPO.ShowDialogResult();
 }
Example #3
0
        private void btnScan_Click(object sender, EventArgs e)
        {
            if (!User.UserInAction("Work Order Scan Document"))
            {
                return;
            }
            frmScanner frmScanPO = new frmScanner(scanner =>
            {
                scanner.RefId     = Convert.ToInt32((WorkOrderGrid.GetFocusedRow() as WorkOrders)?.Id);
                scanner.TableName = "WorkOrders";
            });

            var res = frmScanPO.ShowDialogResult();
        }