Exemplo n.º 1
0
        public override void DrawControls()
        {
            pickingTask = new PickingTaskControls();

            int top = 42;


            top += VERTICAL_DISTANCE_BETWEEN_CONTROLS;
            pickingTask.planPickingCell = MainProcess.CreateLabel(string.Empty, 10, top, 230,
                                                                  MobileFontSize.Large, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Bold);

            top += VERTICAL_DISTANCE_BETWEEN_CONTROLS;
            pickingTask.pickingWareLine1 = MainProcess.CreateLabel(string.Empty, 10, top, 230,
                                                                   MobileFontSize.Normal, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Regular);
            top += VERTICAL_DISTANCE_BETWEEN_CONTROLS - 7;
            pickingTask.pickingWareLine2 = MainProcess.CreateLabel(string.Empty, 10, top, 230,
                                                                   MobileFontSize.Normal, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Regular);

            top += VERTICAL_DISTANCE_BETWEEN_CONTROLS;
            pickingTask.productionDate = MainProcess.CreateLabel(string.Empty, 10, top, 230,
                                                                 MobileFontSize.Normal, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Bold);

            top += VERTICAL_DISTANCE_BETWEEN_CONTROLS;
            pickingTask.planedQuantity = MainProcess.CreateLabel(string.Empty, 10, top, 230,
                                                                 MobileFontSize.Large, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Bold);

            scanPallet = new ScanPallet();

            scanPallet.order = MainProcess.CreateLabel("Відскануйте палету", 10, 240, 230,
                                                       MobileFontSize.Large, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Bold);

            quantityEditControls = new QuantityEditControls();

            top = 205;
            quantityEditControls.boxesLabel = MainProcess.CreateLabel("Відібрано упаковок", 10, top, 150,
                                                                      MobileFontSize.Normal, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Regular);
            quantityEditControls.packsCountTextBox = MainProcess.CreateTextBox(170, top, 55, string.Empty, ControlsStyle.LabelNormal, null, false);

            top += VERTICAL_DISTANCE_BETWEEN_CONTROLS;
            quantityEditControls.unitsLabel = MainProcess.CreateLabel("Відібрано одиниць", 10, top, 150,
                                                                      MobileFontSize.Normal, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Regular);
            quantityEditControls.unitsCountTextBox = MainProcess.CreateTextBox(170, top, 55, string.Empty, ControlsStyle.LabelNormal, null, false);

            top += VERTICAL_DISTANCE_BETWEEN_CONTROLS;
            quantityEditControls.linersLabel = MainProcess.CreateLabel("Знято прокладок", 10, top, 150,
                                                                       MobileFontSize.Normal, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Bold);
            quantityEditControls.linersCountTextBox = MainProcess.CreateTextBox(170, top, 55, string.Empty, ControlsStyle.LabelNormal, null, false);

            top += VERTICAL_DISTANCE_BETWEEN_CONTROLS;
            quantityEditControls.proceedButton = MainProcess.CreateButton("Продовжити              ( F5 )", 10, top, 220, 30, "modelButton", proceed);
        }
Exemplo n.º 2
0
        public override void DrawControls()
        {
            pickingTask = new PickingTaskControls();

            int top = 42;

            top += VERTICAL_DISTANCE_BETWEEN_CONTROLS;
            pickingTask.planPickingCell = MainProcess.CreateLabel(string.Empty, 10, top, 230,
               MobileFontSize.Large, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Bold);

            top += VERTICAL_DISTANCE_BETWEEN_CONTROLS;
            pickingTask.pickingWareLine1 = MainProcess.CreateLabel(string.Empty, 10, top, 230,
               MobileFontSize.Normal, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Regular);
            top += VERTICAL_DISTANCE_BETWEEN_CONTROLS - 7;
            pickingTask.pickingWareLine2 = MainProcess.CreateLabel(string.Empty, 10, top, 230,
               MobileFontSize.Normal, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Regular);

            top += VERTICAL_DISTANCE_BETWEEN_CONTROLS;
            pickingTask.productionDate = MainProcess.CreateLabel(string.Empty, 10, top, 230,
               MobileFontSize.Normal, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Bold);

            top += VERTICAL_DISTANCE_BETWEEN_CONTROLS;
            pickingTask.planedQuantity = MainProcess.CreateLabel(string.Empty, 10, top, 230,
               MobileFontSize.Large, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Bold);

            scanPallet = new ScanPallet();

            scanPallet.order = MainProcess.CreateLabel("³��������� ������", 10, 240, 230,
               MobileFontSize.Large, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Bold);

            quantityEditControls = new QuantityEditControls();

            top = 205;
            quantityEditControls.boxesLabel = MainProcess.CreateLabel("³������ ��������", 10, top, 150,
               MobileFontSize.Normal, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Regular);
            quantityEditControls.packsCountTextBox = MainProcess.CreateTextBox(170, top, 55, string.Empty, ControlsStyle.LabelNormal, null, false);

            top += VERTICAL_DISTANCE_BETWEEN_CONTROLS;
            quantityEditControls.unitsLabel = MainProcess.CreateLabel("³������ �������", 10, top, 150,
               MobileFontSize.Normal, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Regular);
            quantityEditControls.unitsCountTextBox = MainProcess.CreateTextBox(170, top, 55, string.Empty, ControlsStyle.LabelNormal, null, false);

            top += VERTICAL_DISTANCE_BETWEEN_CONTROLS;
            quantityEditControls.linersLabel = MainProcess.CreateLabel("����� ���������", 10, top, 150,
               MobileFontSize.Normal, MobileFontPosition.Left, MobileFontColors.Default, FontStyle.Bold);
            quantityEditControls.linersCountTextBox = MainProcess.CreateTextBox(170, top, 55, string.Empty, ControlsStyle.LabelNormal, null, false);

            top += VERTICAL_DISTANCE_BETWEEN_CONTROLS;
            quantityEditControls.proceedButton = MainProcess.CreateButton("����������              ( F5 )", 10, top, 220, 30, "modelButton", proceed);
        }