Files
mono/mcs/class/System.Windows.Forms/Gtk/ItemCheckEventArgs.cs
T
Alberto Fernandez ac5b7c3036 New stubbed classes
svn path=/trunk/mcs/; revision=23114
2004-02-16 08:43:34 +00:00

62 lines
1.0 KiB
C#

//
// System.Windows.Forms.ItemCheckEventArgs.cs
//
// Author:
// stubbed out by Daniel Carrera ([email protected])
// Partially completed by Dennis Hayes ([email protected])
// Gianandrea Terzi ([email protected])
//
// (C) 2002 Ximian, Inc
//
namespace System.Windows.Forms {
// <summary>
//
// </summary>
public class ItemCheckEventArgs : EventArgs {
#region Fields
private int index;
private CheckState newcheckvalue;
private CheckState currentcheckvalue;
#endregion
//
// --- Constructor
//
public ItemCheckEventArgs(int index, CheckState newCheckValue, CheckState currentValue )
{
this.index = index;
newcheckvalue = newCheckValue;
currentcheckvalue = currentValue;
}
#region Public Properties
public CheckState CurrentValue
{
get {
return currentcheckvalue;
}
}
public int Index {
get {
return index;
}
}
public CheckState NewValue {
get {
return newcheckvalue;
}
set {
newcheckvalue = value;
}
}
#endregion
}
}