/// <summary> /// Creates a new editor for the given component of an object /// </summary> public FileEditorComponent(object owner, WrappedAttributeInfo field, UserConfigurableFileAttribute attribute) { Owner = owner; Field = field; Attribute = attribute; InitializeComponent(); UpdateComponent(); }
/// <summary> /// Creates a new editor for the given component of an object /// </summary> public StringEditorComponent(object owner, WrappedAttributeInfo field, UserConfigurableStringAttribute attribute) { _suppressUpdate = true; Owner = owner; Field = field; Attribute = attribute; InitializeComponent(); UpdateComponent(); _suppressUpdate = false; }