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