External/Aga.Controls/Tree/NodeControls/LabelEventArgs.cs
author moel.mich
Wed, 18 Jul 2012 22:47:30 +0000
changeset 368 1036b453f1f6
permissions -rw-r--r--
Added a missing default case in the mainboard specific configuration selection. The missing default case prevented sensor data from getting displayed on unknown Asus mainboards with NCT6779D super I/O.
     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 }