Beispiel #1
0
 /// <summary>
 /// Constructor to create the zone user control event argument.
 /// </summary>
 /// <param name="senderZoneUserControl">This pointer, to the source zone user control.</param>
 /// <param name="currentSelectedZone">Selected Zone, as zone enumeration.</param>
 /// <param name="prevZoneState">Previous zone state, before changing the selection.</param>
 public ZoneUserControlEventArgs(ZoneUserControl senderZoneUserControl, ENuvoEssentiaZones currentSelectedZone, ZoneState prevZoneState)
 {
     _senderZoneUserControl = senderZoneUserControl;
     _currentSelectedZone   = currentSelectedZone;
     _prevSelectedZone      = currentSelectedZone; // set previous selected zone
     _prevZoneState         = prevZoneState;
 }
Beispiel #2
0
 /// <summary>
 /// Constructor to create the zone user control event argument.
 /// </summary>
 /// <param name="senderZoneUserControl">This pointer, to the source zone user control.</param>
 /// <param name="currentSelectedZone">Selected Zone, as zone enumeration.</param>
 /// <param name="prevSelectedZone">Previous selected zone, as zone enumeration.</param>
 public ZoneUserControlEventArgs(ZoneUserControl senderZoneUserControl, ENuvoEssentiaZones currentSelectedZone, ENuvoEssentiaZones prevSelectedZone)
 {
     _senderZoneUserControl = senderZoneUserControl;
     _currentSelectedZone   = currentSelectedZone;
     _prevSelectedZone      = prevSelectedZone;
 }