private void BeadManagement_Load(object sender, EventArgs e) { for (int i = 0; i < m_Pallet.Colours.Count; ++i) { BeadSupply col = new BeadSupply(m_Pallet.Colours[i]); col.Location = new System.Drawing.Point(12, 24 + (24 * i)); col.Name = "imageColor" + i.ToString(); col.Size = new System.Drawing.Size(1108, 33); col.TabIndex = 0; col.BeadChange += BeadChange; colors.Add(col); panel1.Controls.Add(col); } }