mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
62 lines
1.0 KiB
C#
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
|
|
}
|
|
}
|