using System;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
namespace DevComponents.DotNetBar
{
    /// 
    /// Provides data for form caption rendering events.
    /// 
    public class FormCaptionRendererEventArgs : EventArgs
    {
        /// 
        /// Gets or sets the reference to graphics object.
        /// 
        public Graphics Graphics = null;
        /// 
        /// Gets or sets the caption bounds.
        /// 
        public Rectangle Bounds = Rectangle.Empty;
        /// 
        /// Gets or sets the form caption is rendered for.
        /// 
        public Form Form = null;
        /// 
        /// Creates new instance of the class.
        /// 
        public FormCaptionRendererEventArgs(Graphics g, Rectangle bounds, Form form)
        {
            this.Graphics = g;
            this.Bounds = bounds;
            this.Form = form;
        }
    }
}