protected virtual void OnSpaceColorChanged(object sender, SpaceColorEventArgs e) { if (SpaceColorChanged != null) { SpaceColorChanged(sender, e); } }
protected virtual void OnColorChanged(SpaceColorEventArgs e) { if (ColorChanged != null) { ColorChanged(this, e); } }
void space_ColorChanged(object sender, SpaceColorEventArgs e) { this.OnSpaceColorChanged(sender, e); }