private void initComponentIfNeeded(IComponent component) { if (!_componentsInitialized) { return; } component.Init(this); component.AfterInit(); }