public void showProperties(Netron.GraphLib.UI.GraphControl GC, designGraph graph, object sender, object[] props) { if (props.GetLength(0) > 0) { if ((propWindow == null) || !propWindow.CanSelect) { propWindow = new PropertiesWindow(); } if (this.ActiveMdiChild.WindowState.Equals(FormWindowState.Maximized)) propWindow.MdiParent = null; propWindow.Show(); propWindow.Activate(); propWindow.showProperties(GC, graph, props); } }