public NetTabButton(NetTabControl owner, TabButtonAction action)
        {
            this.buttonAction = action;
            this.owner        = owner;

            this.selected = false;
            this.down     = false;

            SetStyle(ControlStyles.DoubleBuffer, true);
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            SetStyle(ControlStyles.UserPaint, true);

            SetStyle(ControlStyles.FixedHeight, true);
            SetStyle(ControlStyles.FixedWidth, true);

            Size    = new Size(15, 15);
            Visible = false;
            TabStop = false;
        }
 public NetTabPageCollection(NetTabControl owner)
 {
     this.owner = owner;
 }