private OnValueChanged ( object s, EventArgs a ) : void | ||
s | object | |
a | EventArgs | |
return | void |
void OnValueChanged(object s, EventArgs a)
{
if (!syncing) {
syncing = true;
if (!property.IsReadOnly) {
property.SetValue (obj, currentEditor.Value);
if (Changed != null)
Changed (s, a);
}
syncing = false;
}
}