External/Aga.Controls/Tree/TreeNodeAdvMouseEventArgs.cs
author moel.mich
Sun, 27 May 2012 15:16:19 +0000
changeset 345 0c551e8818e0
permissions -rw-r--r--
Added the source code of Aga.Controls (TreeViewAdv for .Net) version 1.7.0.0.
     1 using System;
     2 using System.Collections.Generic;
     3 using System.Text;
     4 using System.Windows.Forms;
     5 using System.Drawing;
     6 using Aga.Controls.Tree.NodeControls;
     7 
     8 namespace Aga.Controls.Tree
     9 {
    10 	public class TreeNodeAdvMouseEventArgs : MouseEventArgs
    11 	{
    12 		private TreeNodeAdv _node;
    13 		public TreeNodeAdv Node
    14 		{
    15 			get { return _node; }
    16 			internal set { _node = value; }
    17 		}
    18 
    19 		private NodeControl _control;
    20 		public NodeControl Control
    21 		{
    22 			get { return _control; }
    23 			internal set { _control = value; }
    24 		}
    25 
    26 		private Point _viewLocation;
    27 		public Point ViewLocation
    28 		{
    29 			get { return _viewLocation; }
    30 			internal set { _viewLocation = value; }
    31 		}
    32 
    33 		private Keys _modifierKeys;
    34 		public Keys ModifierKeys
    35 		{
    36 			get { return _modifierKeys; }
    37 			internal set { _modifierKeys = value; }
    38 		}
    39 
    40 		private bool _handled;
    41 		public bool Handled
    42 		{
    43 			get { return _handled; }
    44 			set { _handled = value; }
    45 		}
    46 
    47 		private Rectangle _controlBounds;
    48 		public Rectangle ControlBounds
    49 		{
    50 			get { return _controlBounds; }
    51 			internal set { _controlBounds = value; }
    52 		}
    53 
    54 		public TreeNodeAdvMouseEventArgs(MouseEventArgs args)
    55 			: base(args.Button, args.Clicks, args.X, args.Y, args.Delta)
    56 		{
    57 		}
    58 	}
    59 }