Files
mono/mcs/class/System.Windows.Forms/System.Windows.Forms/NodeLabelEditEventArgs.cs
T
Dennis Hayes bf7fdf0e50 switched to unix style line terminators
svn path=/trunk/mcs/; revision=9374
2002-12-04 01:35:42 +00:00

70 lines
1.0 KiB
C#

//
// System.Windows.Forms.NodeLabelEditEventArgs.cs
//
// Author:
// stubbed out by Paul Osman ([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 NodeLabelEditEventArgs : EventArgs {
#region Fields
private TreeNode node;
private string label = "";
private bool canceledit = false;
#endregion
//
// --- Constructor
//
public NodeLabelEditEventArgs(TreeNode node)
{
this.node = node;
}
public NodeLabelEditEventArgs(TreeNode node, string label)
{
this.node = node;
this.label = label;
}
#region Public Properties
public bool CancelEdit {
get {
return canceledit;
}
set {
canceledit = value;
}
}
public string Label
{
get {
return label;
}
}
public TreeNode Node {
get {
return node;
}
}
#endregion
}
}