Tag Archives: change parent

Reparent a control in C#

Changing a control’s parent is easy. Simply set its Parent property to the control that should contain it. This example uses the following code. // Move the Button from one GroupBox to the other. private void btnReparentMe_Click(object sender, EventArgs e) … Continue reading

Posted in controls | Tagged , , , , , , , | Leave a comment