/// <summary>
 /// Sets the passanger names.
 /// </summary>
 /// <param name="passangers">The passangers.</param>
 private void SetPassangerNames(VolarisPassangers passangers)
 {
     if (passangers.GetAll().Any())
     {
         foreach (var pax in passangers.GetAll())
         {
             int columnIndex = container.ColumnStyles.Add(new ColumnStyle(SizeType.AutoSize));
             container.Controls.Add(new ucVolarisPassangerTypeResume
             {
                 PaxCounter    = string.Empty,
                 PaxTypeString = pax.FullName
             }, columnIndex, 0);
         }
     }
 }
        private void SetPassangers()
        {
            if (Passangers != null && Passangers.GetAll().Any())
            {
                var passsangers = Passangers.GetAll();
                int h           = 0;
                foreach (var volarisPassanger in passsangers)
                {
                    int rowIndex = AddRow();
                    _layoutPanel.Controls.Add(new ucVolarisPasssangerName
                    {
                        PassangerName = volarisPassanger.FullName,
                    },
                                              0,
                                              rowIndex);

                    h += 30;
                    _layoutPanel.RowStyles[rowIndex].Height   = 30;
                    _layoutPanel.RowStyles[rowIndex].SizeType = SizeType.Absolute;
                }
                _layoutPanel.Height = h;
            }
        }