using System; using System.Collections.Generic; using System.Drawing; using System.Text; using DevComponents.DotNetBar.Controls; namespace DevComponents.DotNetBar.Rendering { internal abstract class TabFormStripPainter { public abstract void Paint(TabFormStripPainterArgs renderingInfo); } public class TabFormStripPainterArgs : EventArgs { /// /// Gets or sets Graphics object group is rendered on. /// public Graphics Graphics = null; /// /// Gets or sets the reference to SwitchButtonItem being rendered. /// public TabFormStripControl TabFormStrip = null; /// /// Gets or sets the ItemPaintArgs reference. /// internal ItemPaintArgs ItemPaintArgs; /// /// Indicates whether to cancel system rendering of the item. /// public bool Cancel = false; public TabFormStripPainterArgs(TabFormStripControl tabFormStrip, Graphics graphics, ItemPaintArgs itemPaintArgs) { Graphics = graphics; TabFormStrip = tabFormStrip; ItemPaintArgs = itemPaintArgs; } } }