External/Aga.Controls/Tree/DropNodeValidatingEventArgs.cs
author moel.mich
Wed, 18 Jul 2012 19:45:59 +0000
changeset 366 667c75cad937
permissions -rw-r--r--
Changed the system tray icon font scaling to adapt to the size of the tray icon in pixels, because on Windows 7 the tray icon scales with the system font size, while on Windows XP the tray icons are always 16 pixels large.
     1 using System;
     2 using System.Drawing;
     3 
     4 namespace Aga.Controls.Tree
     5 {
     6 	public class DropNodeValidatingEventArgs: EventArgs
     7 	{
     8 		Point _point;
     9 		TreeNodeAdv _node;
    10 
    11 		public DropNodeValidatingEventArgs(Point point, TreeNodeAdv node)
    12 		{
    13 			_point = point;
    14 			_node = node;
    15 		}
    16 
    17 		public Point Point
    18 		{
    19 			get { return _point; }
    20 		}
    21 
    22 		public TreeNodeAdv Node
    23 		{
    24 			get { return _node; }
    25 			set { _node = value; }
    26 		}
    27 	}
    28 }