using System;
using System.Text;
using System.Drawing;
namespace DevComponents.DotNetBar
{
    /// 
    /// Provides data for LayoutWizardButtons event.
    /// 
    public class WizardButtonsLayoutEventArgs : EventArgs
    {
        /// 
        /// Gets or sets bounds of Back button.
        /// 
        public Rectangle BackButtonBounds = Rectangle.Empty;
        /// 
        /// Gets or sets bounds of Next button.
        /// 
        public Rectangle NextButtonBounds = Rectangle.Empty;
        /// 
        /// Gets or sets bounds of Finish button.
        /// 
        public Rectangle FinishButtonBounds = Rectangle.Empty;
        /// 
        /// Gets or sets bounds of Cancel button.
        /// 
        public Rectangle CancelButtonBounds = Rectangle.Empty;
        /// 
        /// Gets or sets bounds of Help button.
        /// 
        public Rectangle HelpButtonBounds = Rectangle.Empty;
        /// 
        /// Creates new instance of the class.
        /// 
        public WizardButtonsLayoutEventArgs() { }
        /// 
        /// Creates new instance of the class and initializes it with default values.
        /// 
        public WizardButtonsLayoutEventArgs(Rectangle backBounds, Rectangle nextBounds, Rectangle finishBounds, Rectangle cancelBounds, Rectangle helpBounds)
        {
            this.BackButtonBounds = backBounds;
            this.NextButtonBounds = nextBounds;
            this.FinishButtonBounds = finishBounds;
            this.CancelButtonBounds = cancelBounds;
            this.HelpButtonBounds = helpBounds;
        }
    }
    /// 
    /// Defines delegate for WizardPageChange events.
    /// 
    public delegate void WizardButtonsLayoutEventHandler(object sender, WizardButtonsLayoutEventArgs e);
}