G
Guest
I can use following codes to set and get object (serializable class)
from Clipboar
Clipboard.SetDataObject(obj)
then
DataObject data=new DataObject()
obj=(ClassType)data.GetData(typeof(ClassType))
In the book Windows with C# (author Charles Petzold), it says a Button can be set or got from clipboard
I tried it. I can save it into clipboard. But after executing GetDate(); the obj is still null. In other word, I canno
get it from clipboard
Can you tell how to get a control or user control from clipboard
Thank
Keith
from Clipboar
Clipboard.SetDataObject(obj)
then
DataObject data=new DataObject()
obj=(ClassType)data.GetData(typeof(ClassType))
In the book Windows with C# (author Charles Petzold), it says a Button can be set or got from clipboard
I tried it. I can save it into clipboard. But after executing GetDate(); the obj is still null. In other word, I canno
get it from clipboard
Can you tell how to get a control or user control from clipboard
Thank
Keith