public ToolStripActionList(ToolStripDesigner designer) : base(designer.Component)
 {
     this._toolStrip       = (ToolStrip)designer.Component;
     this.designer         = designer;
     this.changeParentVerb = new ChangeToolStripParentVerb(System.Design.SR.GetString("ToolStripDesignerEmbedVerb"), designer);
     if (!(this._toolStrip is StatusStrip))
     {
         this.standardItemsVerb = new StandardMenuStripVerb(System.Design.SR.GetString("ToolStripDesignerStandardItemsVerb"), designer);
     }
 }
 public ToolStripActionList(ToolStripDesigner designer) : base(designer.Component)
 {
     this._toolStrip = (ToolStrip) designer.Component;
     this.designer = designer;
     this.changeParentVerb = new ChangeToolStripParentVerb(System.Design.SR.GetString("ToolStripDesignerEmbedVerb"), designer);
     if (!(this._toolStrip is StatusStrip))
     {
         this.standardItemsVerb = new StandardMenuStripVerb(System.Design.SR.GetString("ToolStripDesignerStandardItemsVerb"), designer);
     }
 }
Exemplo n.º 3
0
        public ToolStripActionList(ToolStripDesigner designer) : base(designer.Component)
        {
            _toolStrip = (ToolStrip)designer.Component;
            _designer  = designer;

            _changeParentVerb = new ChangeToolStripParentVerb(SR.ToolStripDesignerEmbedVerb, designer);
            if (!(_toolStrip is StatusStrip))
            {
                _standardItemsVerb = new StandardMenuStripVerb(designer);
            }
        }