Hello, I wrote an event, _designer.addDiagramListener ("ChangedSelection", ChangedSelectionClicked);

Hello, I wrote an event, _designer.addDiagramListener (“ChangedSelection”, ChangedSelectionClicked); but I don’t want to do this event when I click on the node, thank you.

Those appear to be conflicting goals.

But I suppose you could implement what you describe by temporarily setting a flag to tell your ChangedSelectionClicked function to be a no-op. Override ClickSelectingTool.standardMouseSelect to first set that flag, then call the super method, and then clear that flag.