using System; using System.Drawing; using System.Text; namespace DevComponents.DotNetBar { public class ColorItemRendererEventArgs : EventArgs { /// /// Gets or sets Graphics object group is rendered on. /// public Graphics Graphics = null; /// /// Gets the reference to ButtonItem instance being rendered. /// public ColorItem ColorItem = null; /// /// Creates new instance of the object and initializes it with default values /// /// Reference to Graphics object. /// Reference to ColorItem object. public ColorItemRendererEventArgs(Graphics g, ColorItem item) { this.Graphics = g; this.ColorItem = item; } } }