Ejemplo n.º 1
0
        /// <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();
        }
Ejemplo n.º 2
0
        /// <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;
        }