예제 #1
0
		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;
		}
예제 #2
0
		/// <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;
		}
예제 #3
0
		public BubbleBarTabCollection(BubbleBar owner)
		{
			m_Owner=owner;
		}