External/Aga.Controls/Tree/TreePathEventArgs.cs
author sl
Sun, 03 Feb 2013 18:01:50 +0100
changeset 391 ca4c0e7ae75d
permissions -rw-r--r--
Converted project to VisualStudio 2012.
Adding SoundGraphDisplay and SensorFrontView classes.
They were respectively based on SystemTray and SensorNotifyIcon.
SoundGraphDisplay is now able to load iMONDisplay.dll providing it lives on your PATH.
Adding option to sensor context menu for adding it into FrontView.
     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 }