External/Aga.Controls/Tree/TreeNodeAdvMouseEventArgs.cs
changeset 345 0c551e8818e0
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/External/Aga.Controls/Tree/TreeNodeAdvMouseEventArgs.cs	Sun May 27 15:16:19 2012 +0000
     1.3 @@ -0,0 +1,59 @@
     1.4 +using System;
     1.5 +using System.Collections.Generic;
     1.6 +using System.Text;
     1.7 +using System.Windows.Forms;
     1.8 +using System.Drawing;
     1.9 +using Aga.Controls.Tree.NodeControls;
    1.10 +
    1.11 +namespace Aga.Controls.Tree
    1.12 +{
    1.13 +	public class TreeNodeAdvMouseEventArgs : MouseEventArgs
    1.14 +	{
    1.15 +		private TreeNodeAdv _node;
    1.16 +		public TreeNodeAdv Node
    1.17 +		{
    1.18 +			get { return _node; }
    1.19 +			internal set { _node = value; }
    1.20 +		}
    1.21 +
    1.22 +		private NodeControl _control;
    1.23 +		public NodeControl Control
    1.24 +		{
    1.25 +			get { return _control; }
    1.26 +			internal set { _control = value; }
    1.27 +		}
    1.28 +
    1.29 +		private Point _viewLocation;
    1.30 +		public Point ViewLocation
    1.31 +		{
    1.32 +			get { return _viewLocation; }
    1.33 +			internal set { _viewLocation = value; }
    1.34 +		}
    1.35 +
    1.36 +		private Keys _modifierKeys;
    1.37 +		public Keys ModifierKeys
    1.38 +		{
    1.39 +			get { return _modifierKeys; }
    1.40 +			internal set { _modifierKeys = value; }
    1.41 +		}
    1.42 +
    1.43 +		private bool _handled;
    1.44 +		public bool Handled
    1.45 +		{
    1.46 +			get { return _handled; }
    1.47 +			set { _handled = value; }
    1.48 +		}
    1.49 +
    1.50 +		private Rectangle _controlBounds;
    1.51 +		public Rectangle ControlBounds
    1.52 +		{
    1.53 +			get { return _controlBounds; }
    1.54 +			internal set { _controlBounds = value; }
    1.55 +		}
    1.56 +
    1.57 +		public TreeNodeAdvMouseEventArgs(MouseEventArgs args)
    1.58 +			: base(args.Button, args.Clicks, args.X, args.Y, args.Delta)
    1.59 +		{
    1.60 +		}
    1.61 +	}
    1.62 +}