hi:
I've created one label array in one form like this:
//first in the beginning of the code,
private System.Windows.Forms.Label mylabel[];
//then inside the button event
this.mylabel = new System.Windows.Forms.Label[1];
this.mylabel[0].Location = new System.Drawing.Point(200, 100);
this.mylabel[0].Size = new System.Drawing.Size(50, 50);
this.mylabel[0].TabIndex = 0;
Controls.AddRange( new System.Windows.Forms.Control[] {this.mylabel[0]});
no problem when compile it, but it got crashed when click the button, what is the problem?
THankx