public TuxBarItemHeader() { m_TuxTheme = new FireTheme(); this.SetStyle(ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer | ControlStyles.SupportsTransparentBackColor , true ); this.BackColor = Color.Transparent; m_ToogleButton = new TuxBarItemHeaderToogleButton(); this.Controls.Add(m_ToogleButton); m_ToogleButton.Size = new Size(24,24); m_ToogleButton.Toogle+=new EventHandler(m_ToogleButton_Toogle); this.Height = 24; //this.Text = "Provaaa"; }
public TuxBarItem() { m_Header = new TuxBarItemHeader(); m_TuxTheme = new FireTheme(); this.SetStyle(ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer | ControlStyles.SupportsTransparentBackColor , true ); this.BackColor = Color.Transparent; m_Header.Dock = DockStyle.Top; m_Container = new TuxBarItemContainer(); m_Container.Padding = new Padding(2); m_Header.Toogle+=new EventHandler(m_Header_Toogle); this.Height = 150; this.Width = 100; this.Controls.Add(m_Container); this.Controls.Add(m_Header); }
public TuxBarContainer() { m_Container = new TuxBarContainerPanel(); this.Controls.Add(m_Container); this.AutoScroll = true; this.AutoScrollMinSize = new Size(10, 10); m_Theme = new FireTheme(); }
public TuxBarItemContainer() { m_TuxTheme = new FireTheme(); this.SetStyle(ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer | ControlStyles.SupportsTransparentBackColor , true ); this.BackColor = Color.Transparent; }
public TuxBarContainerPanel() { m_TuxTheme = new FireTheme(); this.SetStyle(ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer | ControlStyles.SupportsTransparentBackColor | ControlStyles.Selectable | ControlStyles.StandardClick , true ); this.BackColor = Color.Transparent; m_Items = new TuxBarItemCollection(); m_Items.AddItem+=new TuxBar.TuxBarItemCollection.TuxBarItemCollectionHandler(m_Items_AddItem); m_Items.RemoveItem+=new TuxBar.TuxBarItemCollection.TuxBarItemCollectionHandler(m_Items_RemoveItem); m_Items.InsertItem+=new TuxBar.TuxBarItemCollection.TuxBarItemCollectionInsertHandler(m_Items_InsertItem); m_Items.LayoutChanged+=new EventHandler(m_Items_LayoutChanged); m_Items.ClearItems += new TuxBarItemCollection.TuxBarItemCollectionClear(m_Items_ClearItems); }