public Form1() { InitializeComponent(); ComponentManager.SetXml("config.xml"); balls = ComponentManager.CreateComponentArray <Label>(panel1, "ball"); for (int i = 0; i < balls.Length; i++) { balls[i].Text = i.ToString(); } }
public Form1() { InitializeComponent(); ComponentManager.SetXml("config.xml"); balls = ComponentManager.CreateComponentArray <Label>(panel1, "ball"); for (int i = 0; i < balls.Length; i++) { balls[i].Text = i.ToString(); } }