Me.Panel1.Controls.Clear()
Dim newV As New LinkTextwithVideo
    Me.Panel1.Controls.Add(newV)

This is the code i used to add and remove UCs in form

so, the application is like a computer based training module where each User control form has different contents and video(which is played in Windows media player), i have used me.panel1.controls.clear to remove UCs and change to new UCs but while changing, my videos are running in background

0

There are 0 best solutions below