When I moves window on screen, user control is not moving.Is there any way we can add the control to the window except we create control at run time in form window. I have shared the code below.
I've created a custom CustomBox using links link1 and link2
User Control Code
Private mList As CustomBox
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
mList = New CustomBox(Me)
mList.Location = New Point(5, 10)
mList.Size = New Size(50, Me.ClientSize.Height + 50)
For ix As Integer = 0 To 100 - 1
mList.Items.Add(ix)
Next
End Sub