/// <summary>
        /// Initializes a new instance of the <see cref="ZeroitButtonRoundDefaultSmartTagActionList"/> class.
        /// </summary>
        /// <param name="component">A component related to the <see cref="T:System.ComponentModel.Design.DesignerActionList" />.</param>
        public ZeroitButtonRoundDefaultSmartTagActionList(IComponent component) : base(component)
        {
            this.colUserControl = component as ZeroitRndButtonDefault;

            // Cache a reference to DesignerActionUIService, so the
            // DesigneractionList can be refreshed.
            this.designerActionUISvc = GetService(typeof(DesignerActionUIService)) as DesignerActionUIService;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="ZeroitOffice07PanelSmartTagActionList"/> class.
        /// </summary>
        /// <param name="component">A component related to the <see cref="T:System.ComponentModel.Design.DesignerActionList" />.</param>
        public ZeroitOffice07PanelSmartTagActionList(IComponent component) : base(component)
        {
            this.colUserControl = component as ZeroitOffice07Panel;

            // Cache a reference to DesignerActionUIService, so the
            // DesigneractionList can be refreshed.
            this.designerActionUISvc = GetService(typeof(DesignerActionUIService)) as DesignerActionUIService;
        }
Example #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="LollipopFileSelectSmartTagActionList"/> class.
        /// </summary>
        /// <param name="component">A component related to the <see cref="T:System.ComponentModel.Design.DesignerActionList" />.</param>
        public LollipopFileSelectSmartTagActionList(IComponent component) : base(component)
        {
            this.colUserControl = component as ZeroitLollipopSelectFile;

            // Cache a reference to DesignerActionUIService, so the
            // DesigneractionList can be refreshed.
            this.designerActionUISvc = GetService(typeof(DesignerActionUIService)) as DesignerActionUIService;
        }
        public VisualListViewActionList(IComponent component) : base(component)
        {
            _control         = (VisualListView)component;
            _designerService = (DesignerActionUIService)GetService(typeof(DesignerActionUIService));

            _dockText  = "Dock in Parent Container.";
            _dockState = false;
        }
        public PLCRunningStatus_ActionLists(IComponent component) : base(component)
        {
            this.dtc = component as PLCRunningStatus;

            // Cache a reference to DesignerActionUIService, so the
            // DesigneractionList can be refreshed.
            this.designerActionUISvc = GetService(typeof(DesignerActionUIService)) as DesignerActionUIService;
        }
Example #6
0
        internal void RefreshDesigner()
        {
            DesignerActionUIService das = GetService(typeof(DesignerActionUIService)) as DesignerActionUIService;

            if (das != null)
            {
                das.Refresh(this.WizardControl);
            }
        }
        public void Commit()
        {
            changeService.OnComponentChanged(ctrl, null, null, null);
            this.transaction.Commit();
            DesignerActionUIService designerActionUISvc =
                (DesignerActionUIService)this.actionList.GetService(typeof(DesignerActionUIService));

            designerActionUISvc.Refresh(this.actionList.Component);
        }
        private void RefreshDisplay()
        {
            DesignerActionUIService service = (DesignerActionUIService)GetService(typeof(DesignerActionUIService));

            if (service != null)
            {
                service.Refresh(SuperMarquee);
            }
        }
Example #9
0
        internal void RefreshDesigner()
        {
            DesignerActionUIService das = GetService <DesignerActionUIService>();

            if (das != null)
            {
                das.Refresh(Control);
            }
        }
 public DesignerActionKeyboardBehavior(DesignerActionPanel panel, IServiceProvider serviceProvider, BehaviorService behaviorService) : base(true, behaviorService)
 {
     this.panel = panel;
     if (serviceProvider != null)
     {
         this.menuService = serviceProvider.GetService(typeof(IMenuCommandService)) as IMenuCommandService;
         this.daUISvc     = serviceProvider.GetService(typeof(DesignerActionUIService)) as DesignerActionUIService;
     }
 }
Example #11
0
        /// <summary>
        /// Refresh the smart tag added of component.
        /// </summary>
        private void RefreshSmartTag()
        {
            DesignerActionUIService actionUIService = (DesignerActionUIService)GetService(typeof(DesignerActionUIService));

            if (actionUIService != null)
            {
                actionUIService.Refresh(Component);
            }
        }
        private void RefreshComponent(int index, WizardStep value)
        {
            DesignerActionUIService service = GetService(typeof(DesignerActionUIService)) as DesignerActionUIService;

            if (service == null)
            {
                return;
            }
            service.Refresh(Control);
        }
Example #13
0
        //The constructor associates the control with the smart tag list.
        public Class1DesignerActionList(IComponent component)
            : base(component)
        {
            //this.colUserControl = component as Class1;

            // Cache a reference to DesignerActionUIService,
            // so the DesigneractionList can be refreshed.
            this.designerActionUISvc = GetService(typeof(DesignerActionUIService))
                                       as DesignerActionUIService;
        }
 public DesignerActionKeyboardBehavior(DesignerActionPanel panel, IServiceProvider serviceProvider, BehaviorService behaviorService) : base(true, behaviorService)
 {
     _panel = panel;
     if (serviceProvider != null)
     {
         _menuService = serviceProvider.GetService(typeof(IMenuCommandService)) as IMenuCommandService;
         Debug.Assert(_menuService != null, "we should have found a menu service here...");
         _daUISvc = serviceProvider.GetService(typeof(DesignerActionUIService)) as DesignerActionUIService;
     }
 }
        //The constructor associates the control with the smart tag list.
        public HMIWaterPumpActionList(IComponent component)
            : base(component)
        {
            _HMIWaterPump = component as HMIWaterPump;

            // Cache a reference to DesignerActionUIService,
            // so the DesigneractionList can be refreshed.
            designerActionUISvc = GetService(typeof(DesignerActionUIService))
                                  as DesignerActionUIService;
        }
Example #16
0
        //The constructor associates the control with the smart tag list.
        public HMIMushroomButtonActionList(IComponent component)
            : base(component)
        {
            _HMIbutton = component as HMIMushroomButton;

            // Cache a reference to DesignerActionUIService,
            // so the DesigneractionList can be refreshed.
            designerActionUISvc = GetService(typeof(DesignerActionUIService))
                                  as DesignerActionUIService;
        }
Example #17
0
        //</snippet10>

        //The constructor associates the control
        //with the smart tag list.
//<snippet4>
        public ColorLabelActionList(IComponent component) : base(component)
        {
            this.colLabel = component as ColorLabel;

            // Cache a reference to DesignerActionUIService, so the
            // DesigneractionList can be refreshed.
            this.designerActionUISvc =
                GetService(typeof(DesignerActionUIService))
                as DesignerActionUIService;
        }
Example #18
0
        private void RefreshComponent(object sender, EventArgs e)
        {
            DesignerActionUIService service = GetService(typeof(DesignerActionUIService)) as DesignerActionUIService;

            if (service == null)
            {
                return;
            }
            service.Refresh(Control);
        }
Example #19
0
        //The constructor associates the control
        //with the smart tag list.
        public UC_SmartTagSupportActionList(IComponent component)
            : base(component)
        {
            this.control = component as UC_SmartTagSupport;

            // Cache a reference to DesignerActionUIService, so the
            // DesigneractionList can be refreshed.
            this.designerActionUISvc =
                GetService(typeof(DesignerActionUIService))
                as DesignerActionUIService;
        }
Example #20
0
        public PictureBoxActionList(ZeroitPictureBoxDesigner designer)
            : base(designer.Component)
        {
            this._designer = designer;

            this.colUserControl = this.Component as ZeroitImageRotator;

            // Cache a reference to DesignerActionUIService, so the
            // DesigneractionList can be refreshed.
            this.designerActionUISvc = GetService(typeof(DesignerActionUIService)) as DesignerActionUIService;
        }
Example #21
0
        public DesignerGradientToolStripActionList(IComponent component)
            : base(component)
        {
            if (!(component is GradientToolStrip))
            {
                throw new ArgumentNullException(nameof(component));
            }

            _control   = (GradientToolStrip)component;
            _uiService = (DesignerActionUIService)GetService(typeof(DesignerActionUIService));
        }
        //The constructor associates the control
        //with the smart tag list.
        /// <summary>
        /// Initializes a new instance of the <see cref="ZeroitPiperExCollapsePanelActionList"/> class.
        /// </summary>
        /// <param name="component">A component related to the <see cref="T:System.ComponentModel.Design.DesignerActionList" />.</param>
        public ZeroitPiperExCollapsePanelActionList(IComponent component)
            : base(component)
        {
            this.panel = component as ZeroitPiperExCollapsePanel;

            // Cache a reference to DesignerActionUIService, so the
            // DesigneractionList can be refreshed.
            this.designerActionUISvc =
                GetService(typeof(DesignerActionUIService))
                as DesignerActionUIService;
        }
Example #23
0
        public DesignerLoadingCircleActionList(IComponent component)
            : base(component)
        {
            if (!(component is LoadingCircle))
            {
                throw new ArgumentNullException(nameof(component));
            }

            _control   = (LoadingCircle)component;
            _uiService = (DesignerActionUIService)GetService(typeof(DesignerActionUIService));
        }
Example #24
0
        public DesignerWatermarkFrezableTextComboBoxActionList(IComponent component)
            : base(component)
        {
            if (!(component is WatermarkFrezableTextComboBox))
            {
                throw new ArgumentNullException(nameof(component));
            }

            _control   = (WatermarkFrezableTextComboBox)component;
            _uiService = (DesignerActionUIService)GetService(typeof(DesignerActionUIService));
        }
        public DesignerCompanyImageActionList(IComponent component)
            : base(component)
        {
            if (!(component is CompanyImageControl))
            {
                throw new ArgumentNullException(nameof(component));
            }

            _control   = (CompanyImageControl)component;
            _uiService = (DesignerActionUIService)GetService(typeof(DesignerActionUIService));
        }
Example #26
0
        private void RefreshComponent()
        {
            DesignerActionUIService service = (DesignerActionUIService)GetService(typeof(DesignerActionUIService));

            if (service == null)
            {
                return;
            }

            service.Refresh(Control);
        }
Example #27
0
        public DesignerSeparatorLineActionList(IComponent component)
            : base(component)
        {
            if (!(component is SeparatorLine))
            {
                throw new ArgumentNullException(nameof(component));
            }

            _control   = (SeparatorLine)component;
            _uiService = (DesignerActionUIService)GetService(typeof(DesignerActionUIService));
        }
Example #28
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));
        }
Example #29
0
        /// <summary>
        /// Initializes a new instance of the <see cref="NuGenCalendarActionList"/> class.
        /// </summary>
        /// <param name="component">A component related to the <see cref="T:System.ComponentModel.Design.DesignerActionList"></see>.</param>
        public NuGenCalendarActionList(IComponent component)
            : base(component)
        {
            this.calendar = component as NuGenCalendar;

            // Cache a reference to DesignerActionUIService, so the
            // DesigneractionList can be refreshed.
            this.designerActionUISvc =
                GetService(typeof(DesignerActionUIService))
                as DesignerActionUIService;
        }
Example #30
0
        public DesignerTextBoxExtendedActionList(IComponent component)
            : base(component)
        {
            if (!(component is TextBoxExtended))
            {
                throw new ArgumentException(string.Empty, nameof(component));
            }

            _control   = (TextBoxExtended)component;
            _uiService = GetService(typeof(DesignerActionUIService)) as DesignerActionUIService;
        }
Example #31
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="component">The control itself</param>
 public FilmstripControlDesignerActionList(IComponent component)
     : base(component)
 {
     usercontrol = component as FilmstripControl;
     this.service = GetService(typeof(DesignerActionUIService)) as DesignerActionUIService;
 }
Example #32
0
        public ColorLabelActionList(IComponent component)
            : base(component)
        {
            this.colLabel = component as ColorLabel;

            // Cache a reference to DesignerActionUIService, so the
            // DesigneractionList can be refreshed.
            this.designerActionUISvc =
                GetService(typeof(DesignerActionUIService))
                as DesignerActionUIService;
        }