IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Event arguments for events bearing information about a value of type double that has changed. More...
Public Member Functions | |
ValueChangeEventArgs () | |
Constructs event arguments with old and new value unspecified. See ValueChangeEventArgs{ValueType}ValueChangeEventArgs(). More... | |
ValueChangeEventArgs (double oldValue, double newValue, bool oldValueDefined=true, bool newValueDefined=true) | |
Constructs event args with specific old and new value (oldValue and newValue ). More... | |
Event arguments for events bearing information about a value of type double that has changed.
Old and new values should normally be set via constructor.
Fields New and Old contain the new and the old value of the item whose value has changed. Either of them can be defined or not, and flags NewDefined and OldDefined specify that.
See also the generic base class, ValueChangeEventArgs{ValueType}.
|
inline |
Constructs event arguments with old and new value unspecified. See ValueChangeEventArgs{ValueType}ValueChangeEventArgs().
public ValueChangeEventArgs() : base() { }
Default constructor, leaves old and new values unspecified.
To specify new and old values in constructor, use ValuChangedEventArgs(double, double) or ValuChangedEventArgs(double old, double new, bool oldDefined, bool newDefined)
See also ValueChangeEventArgs{ValueType}()
|
inline |
Constructs event args with specific old and new value (oldValue and newValue ).
Optional arguments oldValueDefined and newValueDefined can specify whether the values have actually been defined (default is true, so one can call constructor without these flags, implying that both old and new values are specified).
See also ValueChangeEventArgs{ValueType}().
oldValue | Old value of the item that has changed. |
newValue | |
oldValueDefined | |
newValueDefined |