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.
moel@345
     1
using System;
moel@345
     2
using System.Drawing;
moel@345
     3
moel@345
     4
namespace Aga.Controls.Tree
moel@345
     5
{
moel@345
     6
	public class DropNodeValidatingEventArgs: EventArgs
moel@345
     7
	{
moel@345
     8
		Point _point;
moel@345
     9
		TreeNodeAdv _node;
moel@345
    10
moel@345
    11
		public DropNodeValidatingEventArgs(Point point, TreeNodeAdv node)
moel@345
    12
		{
moel@345
    13
			_point = point;
moel@345
    14
			_node = node;
moel@345
    15
		}
moel@345
    16
moel@345
    17
		public Point Point
moel@345
    18
		{
moel@345
    19
			get { return _point; }
moel@345
    20
		}
moel@345
    21
moel@345
    22
		public TreeNodeAdv Node
moel@345
    23
		{
moel@345
    24
			get { return _node; }
moel@345
    25
			set { _node = value; }
moel@345
    26
		}
moel@345
    27
	}
moel@345
    28
}