Beispiel #1
0
 private void FinalizeStoring()
 {
     ClearInput();
     ClearLabels();
     DisableInfo();
     StoringActions.MovePallet();
     EnableRows(5);
     SetRow5("Paletės perkėlimas baigtas", ContentAlignment.MiddleCenter, Color.Red);
     EnableInput();
     this.Select();
 }
Beispiel #2
0
        private void CreateSelection()
        {
            DisableRows(9);
            EnableInput();
            DisableInfo();
            SetTitle("Pasirinkite vietą");
            DataTable dt = StoringActions.GetStoringZones();

            dViewDataShow.DataSource            = dt;
            dViewDataShow.Columns[1].HeaderText = "Zonos kodas";
            dViewDataShow.Columns[2].HeaderText = "Zonos pavadinimas";
            dViewDataShow.Columns[0].Visible    = false;
            dViewDataShow.Select();
            ShowDataShow();
            processMethod = new Action(ProcessSelection);
        }
Beispiel #3
0
 private void ProcessMovePalletBarcode()
 {
     if (string.IsNullOrEmpty(tBoxInput1.Text))
     {
         EnableRows(9);
         SetRow9("Negalimas barkodas", ContentAlignment.MiddleCenter, Color.Red);
         return;
     }
     if (StoringActions.ValidatePallet(tBoxInput1.Text) <= 0)
     {
         EnableRows(9);
         SetRow9("Paletė neegzistuoja sandėlyje", ContentAlignment.MiddleCenter, Color.Red);
         return;
     }
     Cache.AddParameter("@Barcode", tBoxInput1.Text);
     CreateSelection();
 }