public void AddProductionLine(ProductionLine plNewLine)
        {
            Array.Resize<Control>(ref aProductionLines, aProductionLines.Length + 1);

            aProductionLines[aProductionLines.Length - 1] = plNewLine;

            //JR13
            if (iLineRowIndex < 14)
                plNewLine.Top = 22 + ((iLineRowIndex) * 20);
            else
                plNewLine.Top = 268; //16 + ((iLineRowIndex) * 18);

            plNewLine.Left = 1;

            plNewLine.TabIndex = 50 + aProductionLines.Length;
            plNewLine.TabStop = true;

            plNewLine.iLineIndex = aProductionLines.Length - 1;
            plNewLine.Name = "plNewLine_" + (aProductionLines.Length - 1).ToString();

            this.pnlDetails.Controls.Add(plNewLine);
            plNewLine.BringToFront();
            iLineRowIndex++;
        }