void OnComponentTypesChanged(object s, EventArgs a) { if (ComponentTypesChanged != null) ComponentTypesChanged (this, a); }