External/Aga.Controls/Tree/TreePathEventArgs.cs
changeset 345 0c551e8818e0
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/External/Aga.Controls/Tree/TreePathEventArgs.cs	Sun May 27 15:16:19 2012 +0000
     1.3 @@ -0,0 +1,28 @@
     1.4 +using System;
     1.5 +using System.Collections.Generic;
     1.6 +using System.Text;
     1.7 +
     1.8 +namespace Aga.Controls.Tree
     1.9 +{
    1.10 +	public class TreePathEventArgs : EventArgs
    1.11 +	{
    1.12 +		private TreePath _path;
    1.13 +		public TreePath Path
    1.14 +		{
    1.15 +			get { return _path; }
    1.16 +		}
    1.17 +
    1.18 +		public TreePathEventArgs()
    1.19 +		{
    1.20 +			_path = new TreePath();
    1.21 +		}
    1.22 +
    1.23 +		public TreePathEventArgs(TreePath path)
    1.24 +		{
    1.25 +			if (path == null)
    1.26 +				throw new ArgumentNullException();
    1.27 +
    1.28 +			_path = path;
    1.29 +		}
    1.30 +	}
    1.31 +}