vincezed 0 Junior Poster in Training

HI all i have a simple doubt... can a user control be made as dockable(freely movable) window inside a panel...
I made some form as dockable inside a panel using this code

Form form = new Form();
form.TopLevel = false;
form.Visible = true;
panel.Controls.Add(form);

this code makes the form load inside a panel and it is freely movable... can the same thing be done to a user control... as for i know we can make a usercontrol can be dock in top , bottom,left,right...

can any one help me out with this...

thnanks
vince

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.