here is this line is have some problem when convert it from VB to C#
//Add an event handler to this control to raise an event when the delete button is clicked
//on the user control
DynamicUserControl.RemoveUserControl +=this.HandleRemoveUserControl;
//Finally, add the user control to the panel
ph1.Controls.Add(Go to the complete details ...