Ejemplo n.º 1
0
        public IncomeForm()
        {
            InitializeComponent();
            _mode = CarScanMode.BoxScan;

            scannedDelegate = new Scanned(OnScanned);
        }
Ejemplo n.º 2
0
        public IncomeForm(System.Collections.Generic.Dictionary<string,//car
            System.Collections.Generic.Dictionary<string, //TORG12
                System.Collections.Generic.Dictionary<string,//Box navcode
                    Boxes>>> ttnStruct,
            string barCode)
        {
            InitializeComponent();

            scannedDelegate = new Scanned(OnScanned);
            TtnStruct = ttnStruct;
            _currentTTNBarcode = barCode;
            _mode = CarScanMode.CarsScan;
            foreach (string incomeDoc in TtnStruct[_currentTTNBarcode].Keys)
            {//цикл по всем накладным
                foreach (string navCodeBox in TtnStruct[_currentTTNBarcode][incomeDoc].Keys)
                {//цикл по всем коробам этой накладной
                    totalQtyCar += 1;
                }
            }
            
        }