using System;
using System.Text;
using System.ComponentModel;
namespace DevComponents.DotNetBar
{
    /// 
    /// Represents the cancelable event arguments with integer value.
    /// 
    public class CancelIntValueEventArgs : CancelEventArgs
    {
        /// 
        /// Gets or sets the new value that will be used if event is not canceled.
        /// 
        public int NewValue = 0;
        /// 
        /// Indicates the source of the event.
        /// 
        public eEventSource EventSource = eEventSource.Code;
    }
    /// 
    /// Defines delegate for cancelable events.
    /// 
    public delegate void CancelIntValueEventHandler(object sender, CancelIntValueEventArgs e);
}