JD2022-TU1/main/tools/framework/JD.Sequencers/Times/OverridePaintEventArgs.cs

28 lines
No EOL
634 B
C#

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