private void AddMethod(AlignmentMethod alignmentMethod)
        {
            AlignmentMethodListItem alignmentMethodListItem = AlignmentMethodListItem.Create(alignmentMethod);

            alignmentMethodListItem.OnControlButtonPressedEvent += OnConfigControlButtonPressed;
            containerFlowPanel.Controls.Add(alignmentMethodListItem);
            alignmentMethodListItem.Size = new Size(containerFlowPanel.Size.Width, alignmentMethodListItem.Size.Height);
            emptyListLabel.Visible       = false;

            AlignmentMethods.Add(alignmentMethod);
        }
        private void PopulateListItems()
        {
            containerFlowPanel.Controls.Clear();

            if (AlignmentMethods.Count == 0)
            {
                containerFlowPanel.Controls.Add(emptyListLabel);
                emptyListLabel.Visible = true;
                return;
            }

            for (int i = 0; i < AlignmentMethods.Count; i++)
            {
                AlignmentMethodListItem alignmentMethodListItem = AlignmentMethodListItem.Create(AlignmentMethods[i]);
                alignmentMethodListItem.OnControlButtonPressedEvent += OnConfigControlButtonPressed;
                containerFlowPanel.Controls.Add(alignmentMethodListItem);
                alignmentMethodListItem.Size = new Size(containerFlowPanel.Size.Width, alignmentMethodListItem.Size.Height);
                emptyListLabel.Visible       = false;
            }
        }