Click here to Skip to main content
15,881,173 members

The idea is that you have a brief subject (30 characters or more) which describes the problem, and then give more detail in the body. But, in this case...

Look at the Clipboard class[^] - it contains everything you need, including an example.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 20-Feb-11 16:01pm    
Hard to decide how to answer in detail, so, my 5.
--SA
Well to start with I'd like to say you ought to have a body to this question but also, simple searching will get you the answer to this. I serached google and found this first link which seems good:
http://www.cs.umd.edu/~bederson/classes/dui-spring-2002/lecture-notes/patterns/copy-paste-example.cs

Hope this helps,

Ed :)

(P.S. DO try searching next time...)
 
Share this answer
 
Comments
SURBHI TYAGI 20-Feb-11 6:01am    
m not understand that how this class is helpfull to me while making notepad.plzzgive me some example for this.
Ed Nutting 20-Feb-11 6:06am    
Then I dont think you should be trying to do something so err..'complex'. The code does exactly what you want if you read it...

It has cut, copy and paste methods all ready for you to use...:P
SURBHI TYAGI 20-Feb-11 6:11am    
okss...thanks sir

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900