Ejemplo n.º 1
0
        //-----------------------------------------------------------------------------
        // Methods
        //-----------------------------------------------------------------------------
        public void OpenObjectPropertiesEditor(IPropertyObject propertyObject)
        {
            if (propertyObject != null) {
                editorControl.OpenObjectProperties(propertyObject);

                if (objectEditorForm == null || objectEditorForm.IsDisposed) {
                    objectEditorForm = new ObjectEditor(editorControl);
                    objectEditorForm.SetObject(propertyObject);
                    objectEditorForm.Show(this);
                }
                else {
                    objectEditorForm.SetObject(propertyObject);
                }
            }
        }