using System;
using System.Text;
using System.ComponentModel;
namespace DevComponents.DotNetBar
{
///
/// Represents the cancelable event arguments with object value.
///
public class CancelObjectValueEventArgs : CancelEventArgs
{
///
/// Initializes a new instance of the CancelObjectValueEventArgs class.
///
///
public CancelObjectValueEventArgs(object o)
{
this.Data = o;
}
///
/// Gets or sets the data connected to this event.
///
public object Data = null;
}
///
/// Defines delegate for cancelable events.
///
public delegate void CancelObjectValueEventHandler(object sender, CancelObjectValueEventArgs e);
}