External/Aga.Controls/Tree/TreePathEventArgs.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.Collections.Generic;
     3 using System.Text;
     4 
     5 namespace Aga.Controls.Tree
     6 {
     7 	public class TreePathEventArgs : EventArgs
     8 	{
     9 		private TreePath _path;
    10 		public TreePath Path
    11 		{
    12 			get { return _path; }
    13 		}
    14 
    15 		public TreePathEventArgs()
    16 		{
    17 			_path = new TreePath();
    18 		}
    19 
    20 		public TreePathEventArgs(TreePath path)
    21 		{
    22 			if (path == null)
    23 				throw new ArgumentNullException();
    24 
    25 			_path = path;
    26 		}
    27 	}
    28 }