怎么用Timer循环往窗体上添加控件
private void timer1_Tick(object sender, EventArgs e)
{
lb = new Label();
lb.Name = DateTime.Now.ToString();
lb.Text = newChar().ToString();
i = i + 1;
lb.Location = new Point(lb.Location.X + i * 2, lb.Location.Y);
this.Controls.Add(lb);
}
我这个方法只能添加一个,就不动了
?