Exemple #1
0
        /// <summary>
        /// Initializes the designer with the specified component.
        /// </summary>
        /// <param name="component">The IComponent to associate with the designer.</param>
        public override void Initialize(IComponent component)
        {
            base.Initialize(component);
            var xpanderPanel = Control as XPanderPanel;

            if (xpanderPanel != null)
            {
                _adorner = new System.Windows.Forms.Design.Behavior.Adorner();
                BehaviorService.Adorners.Add(_adorner);
                _adorner.Glyphs.Add(new XPanderPanelCaptionGlyph(BehaviorService, xpanderPanel));
            }
        }
        /// <summary>
        /// Initializes the designer with the specified component.
        /// </summary>
        /// <param name="component">The IComponent to associate with the designer.</param>
        public override void Initialize(IComponent component)
        {
            base.Initialize(component);
            PanderPanelW PanderPanelW = Control as PanderPanelW;

            if (PanderPanelW != null)
            {
                this.m_adorner = new System.Windows.Forms.Design.Behavior.Adorner();
                BehaviorService.Adorners.Add(this.m_adorner);
                this.m_adorner.Glyphs.Add(new PanderPanelWCaptionGlyph(BehaviorService, PanderPanelW));
            }
        }
Exemple #3
0
        public override void Initialize(IComponent component)
        {
            base.Initialize(component);
            ExpondPanel expondPanel = Control as ExpondPanel;

            if (expondPanel != null)
            {
                this.m_adorner = new System.Windows.Forms.Design.Behavior.Adorner();
                BehaviorService.Adorners.Add(this.m_adorner);
                this.m_adorner.Glyphs.Add(new ExpondPanelCaptionGlyph(BehaviorService, expondPanel));
            }
        }
Exemple #4
0
 /// <summary>
 /// Initializes the designer with the specified component.
 /// </summary>
 /// <param name="component">The IComponent to associate with the designer.</param>
 public override void Initialize(IComponent component)
 {
     base.Initialize(component);
      XPanderPanel xpanderPanel = Control as XPanderPanel;
      if(xpanderPanel != null)
      {
     this.m_adorner = new System.Windows.Forms.Design.Behavior.Adorner();
     BehaviorService.Adorners.Add(this.m_adorner);
     this.m_adorner.Glyphs.Add(new XPanderPanelCaptionGlyph(BehaviorService, xpanderPanel));
      }
 }
		/// <summary>
		/// Initializes the designer with the specified component.
		/// </summary>
		/// <param name="component">The IComponent to associate with the designer.</param>
		public override void Initialize(IComponent component)
		{
			base.Initialize(component);
            PanderPanelW PanderPanelW = Control as PanderPanelW;
            if (PanderPanelW != null)
            {
                this.m_adorner = new System.Windows.Forms.Design.Behavior.Adorner();
                BehaviorService.Adorners.Add(this.m_adorner);
                this.m_adorner.Glyphs.Add(new PanderPanelWCaptionGlyph(BehaviorService, PanderPanelW));
            }
		}