need some simple code to copy text to clipboard

  • Thread starter Thread starter worzel
  • Start date Start date
W

worzel

need some simple code to copy text to clipboard in c# - my app has right
click > copy to clicpboard feature, which is best way to do this?
 
yup, thanks. Though was looking for something a little more tutorial like,
it seems this stuff is quite simple anyways.

Cheers.
 
worzel said:
need some simple code to copy text to clipboard in c# - my app has right
click > copy to clicpboard feature, which is best way to do this?

Clipboard.SetDataObject("Wow, some text on the clipboard!");


Oliver Sturm
 
Back
Top