External/Aga.Controls/Tree/NodeControls/LabelEventArgs.cs
changeset 345 0c551e8818e0
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/External/Aga.Controls/Tree/NodeControls/LabelEventArgs.cs	Sun May 27 15:16:19 2012 +0000
     1.3 @@ -0,0 +1,34 @@
     1.4 +using System;
     1.5 +using System.Collections.Generic;
     1.6 +using System.Text;
     1.7 +
     1.8 +namespace Aga.Controls.Tree.NodeControls
     1.9 +{
    1.10 +	public class LabelEventArgs : EventArgs
    1.11 +	{
    1.12 +		private object _subject;
    1.13 +		public object Subject
    1.14 +		{
    1.15 +			get { return _subject; }
    1.16 +		}
    1.17 +
    1.18 +		private string _oldLabel;
    1.19 +		public string OldLabel
    1.20 +		{
    1.21 +			get { return _oldLabel; }
    1.22 +		}
    1.23 +
    1.24 +		private string _newLabel;
    1.25 +		public string NewLabel
    1.26 +		{
    1.27 +			get { return _newLabel; }
    1.28 +		}
    1.29 +
    1.30 +		public LabelEventArgs(object subject, string oldLabel, string newLabel)
    1.31 +		{
    1.32 +			_subject = subject;
    1.33 +			_oldLabel = oldLabel;
    1.34 +			_newLabel = newLabel;
    1.35 +		}
    1.36 +	}
    1.37 +}