Designer for the navigator instance.
Inheritance: System.Windows.Forms.Design.ParentControlDesigner
示例#1
0
        /// <summary>
        /// Initialize a new instance of the KryptonNavigatorActionList class.
        /// </summary>
        /// <param name="owner">Designer that owns this action list instance.</param>
        public KryptonNavigatorActionList(KryptonNavigatorDesigner owner)
            : base(owner.Component)
        {
            // Remember designer and actual component instance being designed
            _designer  = owner;
            _navigator = (KryptonNavigator)owner.Component;

            // Cache service used to notify when a property has changed
            _serviceComponentChange = (IComponentChangeService)GetService(typeof(IComponentChangeService));
            _serviceDesignerAction  = (DesignerActionUIService)GetService(typeof(DesignerActionUIService));
        }
        /// <summary>
        /// Initialize a new instance of the KryptonNavigatorActionList class.
        /// </summary>
        /// <param name="owner">Designer that owns this action list instance.</param>
        public KryptonNavigatorActionList(KryptonNavigatorDesigner owner)
            : base(owner.Component)
        {
            // Remember designer and actual component instance being designed
            _designer = owner;
            _navigator = (KryptonNavigator)owner.Component;

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