public void testPropertiesDialog(EA.Repository repository) { int diagramID = repository.GetCurrentDiagram().DiagramID; repository.OpenDiagramPropertyDlg(diagramID); }