private void AddNewBuy()
        {
            BuySet set = new BuySet()
            {
                Name = string.Format("Buy #{0}", this.buildFlows.Count + 1)
            };

            this.Build.Buys.Add(set);
            BuySetView flow = new BuySetView
            {
                Anchor = AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Right,
                Build  = this.Build,
                BuySet = set,
                Dock   = DockStyle.None,
                Height = 160,
                Margin = new Padding(10),
                Name   = string.Format("buy{0}", this.buildFlows.Count + 1)
            };

            flow.RemoveClicked += this.BuySetView_RemoveClicked;
            this.buildFlows.Add(flow);
            //
            this.layoutMain.Controls.Add(flow);
            //
            return;
        }
        private void BuySetView_RemoveClicked(BuySetView view)
        {
            if (this.buildFlows.Count < 2)
            {
                return; // always leave one build set up
            }
            int index = this.buildFlows.IndexOf(view);

            this.Build.Buys.Remove(view.BuySet);
            this.buildFlows.Remove(view);
            this.layoutMain.Controls.Remove(view);
            return;
        }