2 using System.Collections.Generic;
6 using System.Xml.Serialization;
31 string OldName = _Name;
32 if (BeforeNameChanged != null)
39 if (AfterNameChanged != null)
71 public RGBColorNamed(
string Name,
int BrightnessRed,
int BrightnessGreen,
int BrightnessBlue)
75 SetColor(BrightnessRed, BrightnessGreen, BrightnessBlue);
EventHandler< NameChangeEventArgs > AfterNameChanged
Event is fired after the value of the property Name has changed.
EventHandler< NameChangeEventArgs > BeforeNameChanged
Event is fired before the value of the property Name is changed.
RGBColorNamed(string Name, int BrightnessRed, int BrightnessGreen, int BrightnessBlue)
Initializes a new instance of the RGBColorNamed class.
This class stores information on RGB colors used for toys and effects (e.g. RGBLed).
Interface for items which can be added the the NamedItemList.
RGBColorNamed(string Name, string Color)
Initializes a new instance of the RGBColorNamed class. The parameter string Color ist first parsed f...
EventArgs for name change events.
The namespace DirectOutput.General contains classes for general use.