Ejemplo n.º 1
0
        public MetroTabStrip()
        {
            this.SetStyle(ControlStyles.StandardDoubleClick, true);

            _StripContainer = new MetroStripContainerItem(this);
            _StripContainer.GlobalItem = false;
            _StripContainer.ContainerControl = this;
            _StripContainer.Displayed = true;
            _StripContainer.SetOwner(this);
            _StripContainer.Style = eDotNetBarStyle.Metro;
            this.SetBaseItemContainer(_StripContainer);

            this.ColorScheme.Style = eDotNetBarStyle.Office2003;

            this.AutoSize = true;

            // Setup system caption item
            _StripContainer.SystemCaptionItem.Click += new EventHandler(SystemCaptionClick);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Returns copy of GenericItemContainer item
        /// </summary>
        public override BaseItem Copy()
        {
            MetroStripContainerItem objCopy = new MetroStripContainerItem(_TabStrip);
            this.CopyToItem(objCopy);

            return objCopy;
        }