public void UpdateProperties(LevelEntry[] objects) { if (mPropertiesToolWindowInfo == null) { return; } if (mPropertiesToolWindowInfo.IsDisposed) { return; } PropertiesToolWindow form = mPropertiesToolWindowInfo.DockableForm as PropertiesToolWindow; form.UpdatePropertyGrid(objects); }