c# - Just 'peek' at the clipboard -
is there way data clipboard not remove it, method or application can it?
i have third party component can override paste method, can not change base.paste()
doing. try save clipboard data before call base.paste()
, after operation data.
just use standard .net implementation.. why want use third party assembly?
mystring = clipboard.gettext(system.windows.forms.textdataformat.text) myobject = clipboard.getdata(format);
won`t remove text in clipboard.
you can clipboard content , copy clipboard after third party component removed if:
data = clipboard.getdata(format); //run 3rd party function clipboard.setdata(format, data);
Comments
Post a Comment