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

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -