# Shared event handlers

Hi Jake,

in my project I have a goview document, were I can add electronic components as nodes, simulating a circuit. Then there is another document, where I want to show the output ( a Gauge for example ) via the instrument nodes. So my question: Is there a smart way to attach two different nodes on seperate documents, while sharing the same event handlers (e.g. deleting the instrument node will also delete the electonic node)

Best Regards

This kind of thing is easier with GoXam, where you can have one underlying data model and bind separate views to it.

In GoDiagram, it’s typically a matter of watching for DocumentChanged events echoing the changes you see in the second document.