public BubbleBarOverlay(BubbleBar parent) { if(parent==null) throw new InvalidOperationException("Parent BubbleBar object for BubbleBarOverlay cannot be null."); m_BubbleBar=parent; this.SetStyle(ControlStyles.UserPaint,true); this.SetStyle(ControlStyles.AllPaintingInWmPaint,true); this.SetStyle(ControlStyles.Opaque,true); this.SetStyle(ControlStyles.ResizeRedraw,true); //this.SetStyle(DisplayHelp.DoubleBufferFlag,true); this.SetStyle(ControlStyles.SupportsTransparentBackColor,true); this.SetStyle(ControlStyles.ContainerControl,false); this.SetStyle(ControlStyles.Selectable,false); this.BackColor=Color.Transparent; }
/// <summary> /// Sets the parent of the tab. /// </summary> /// <param name="parent">Reference to the tab parent object or null.</param> internal void SetParent(BubbleBar parent) { m_Parent=parent; }
public BubbleBarTabCollection(BubbleBar owner) { m_Owner=owner; }