상속: System.Windows.Forms.Design.ControlDesigner
        /// <summary>
        /// Initialize a new instance of the KryptonButtonActionList class.
        /// </summary>
        /// <param name="owner">Designer that owns this action list instance.</param>
        public KryptonButtonActionList(KryptonButtonDesigner owner)
            : base(owner.Component)
        {
            // Remember the button instance
            _button = owner.Component as KryptonButton;

            // Cache service used to notify when a property has changed
            _service = (IComponentChangeService)GetService(typeof(IComponentChangeService));
        }
예제 #2
0
        /// <summary>
        /// Initialize a new instance of the KryptonButtonActionList class.
        /// </summary>
        /// <param name="owner">Designer that owns this action list instance.</param>
        public KryptonButtonActionList(KryptonButtonDesigner owner)
            : base(owner.Component)
        {
            // Remember the button instance
            _button = owner.Component as KryptonButton;

            // Cache service used to notify when a property has changed
            _service = (IComponentChangeService)GetService(typeof(IComponentChangeService));
        }