using System; using System.Drawing; namespace JD.Sequencers.Times { /// /// Allows the client to override the painting of a component /// public class OverridePaintEventArgs : EventArgs { private readonly Graphics _graphics; public OverridePaintEventArgs(Graphics graphics) { _graphics = graphics; } /// /// True if the painting is already done. /// public bool SuppressBasePaint { get; set; } public Graphics Graphics { get { return _graphics; } } } }