Move Item from one cell to another
问题 I have a tableLayoutPanel with 16 cells. 15 of the cells have controls. I want to be able to move the controls from one cell to another at runtime. I have used private void button15_Click(object sender, EventArgs e) { tableLayoutPanel1.Controls.Remove(button15); tableLayoutPanel1.Controls.Add(button15, 3, 3); } This works well but i want to know if there is any better way to do this??? 回答1: In Winforms , you can only move a control inside its parent (of course there are some exceptions to