adding a custom control to clipboard

shri_shri

Member
Joined
May 3, 2005
Messages
6
Programming Experience
Beginner
i have a windows.forms.usercontrol on my form. i need to add this to the clipboard and paste it on another form. I need to know which format to use while getting the usercontrol from the clipboard.This is to be done during runtime.

Thanks.
 
I haven't tried this so I'm not 100% sure it will work, but the DataFormats class includes a Serializable format described as encapsulating any type of Windows Forms object.
 

Latest posts

Back
Top