External/Aga.Controls/Tree/TreeNodeAdvMouseEventArgs.cs
author StephaneLenclud
Thu, 18 Apr 2013 23:25:10 +0200
branchMiniDisplay
changeset 444 9b09e2ee0968
permissions -rw-r--r--
Front View plug-in does not init if no sensor added.
Fixing some format to make strings shorter.
Now trying to start SoundGraphAccess.exe process from same directory.
Packed mode now can display three sensors along with the current time.
     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 }