External/Aga.Controls/Tree/NodeControls/LabelEventArgs.cs
author StephaneLenclud
Thu, 18 Apr 2013 23:25:10 +0200
branchMiniDisplay
changeset 444 9b09e2ee0968
permissions -rw-r--r--
Front View plug-in does not init if no sensor added.
Fixing some format to make strings shorter.
Now trying to start SoundGraphAccess.exe process from same directory.
Packed mode now can display three sensors along with the current time.
     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 }