Nevron Forum

Another copy & paste question

https://www.nevron.com/Forum/Topic3852.aspx

By Fabian Baptista 1 - Tuesday, July 20, 2010

Hi all,
I'm using NDockManager and NDiagramCommandBarsManager.
Each NUIDocument, contains a Diagram (NDrawingView) or contains my own NUIDocument with my own usercontrol inside.

The problem is when I use Ctrl+ C / Ctrl + V events.

For example, if I paste something in a textbox in my user control, the command paste the clipboard data in the opened diagram (another active NUIDocument). I have read that is the expected behaivor for commands that are managed by NDiagramCommandBarsManager:
http://www2.nevron.com/instantforum34/shwmessage.aspx?ForumID=3&MessageID=3448

So, since i work with another documents that are not views, I don't want to provide the correct View, because is not a view, is a simple user control.

I have implement my own Paste Command, inheriting NPasteCommand, but I don't know how to manage this events.
Any help please?
Thanks,
Fabián