External/Aga.Controls/Tree/NodeControls/LabelEventArgs.cs
author StephaneLenclud
Sun, 03 Feb 2013 18:01:50 +0100
branchMiniDisplay
changeset 433 090259cfd699
permissions -rw-r--r--
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.NodeControls
     6 {
     7 	public class LabelEventArgs : EventArgs
     8 	{
     9 		private object _subject;
    10 		public object Subject
    11 		{
    12 			get { return _subject; }
    13 		}
    14 
    15 		private string _oldLabel;
    16 		public string OldLabel
    17 		{
    18 			get { return _oldLabel; }
    19 		}
    20 
    21 		private string _newLabel;
    22 		public string NewLabel
    23 		{
    24 			get { return _newLabel; }
    25 		}
    26 
    27 		public LabelEventArgs(object subject, string oldLabel, string newLabel)
    28 		{
    29 			_subject = subject;
    30 			_oldLabel = oldLabel;
    31 			_newLabel = newLabel;
    32 		}
    33 	}
    34 }