// public PropertyImpl(ComponentTypeSettingsForm owner, ObjectTypeEnum objectType, Component component, string name, Metadata.TypeInfo type, /*IList<Attribute> attributes,*/ string category, object value) : base(owner, name, false, type, type, new Metadata.Parameter[0], false) { this.objectType = objectType; this.component = component; //this.attributes = attributes; this.category = category; this.value = value; }
private void buttonTypeSettings_Click(object sender, EventArgs e) { var component = GetTypeSettingsComponent(); if (component != null) { var form = new ComponentTypeSettingsForm(ObjectSettingsWindow.Document, component); EditorForm.Instance.WorkspaceController.BlockAutoHideAndDoAction(this, () => { form.ShowDialog(); }); } }