private void InvokeLDNetworksChangedEvent(IUndoableCommand command) { if (command is LadderDiagramReplaceNetworksCommand || command is LadderDiagramRemoveNetworksCommand || command is LadderDiagramExchangeNetworkCommand || command is LadderDiagramMoveNetworkCommand) { ldvmodel.InvokeLDNetworksChanged(); } }