public static void Update() { mMenuStrip.Update(); mCameraPropertyGrid.UpdateDisplayedProperties(); mSceneCameraPropertyGrid.UpdateDisplayedProperties(); mToolsWindow.Update(); mGeometryWindow.Update(); mInfoBar.Activity(); #region Scene PropertyGrid Update if (mScenePropertyGrid.SelectedObject != EditorData.Scene) { mScenePropertyGrid.SelectedObject = EditorData.Scene; } else if (mScenePropertyGrid.SelectedObject != null) { mScenePropertyGrid.UpdateDisplayedProperties(); } #endregion #region ShapeCollection PropertyGrid if (mShapeCollectionPropertyGrid.SelectedObject != EditorData.ShapeCollection) { mShapeCollectionPropertyGrid.SelectedObject = EditorData.ShapeCollection; } else if (mShapeCollectionPropertyGrid.SelectedObject != null) { mShapeCollectionPropertyGrid.UpdateDisplayedProperties(); } #endregion }